summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/refresh_clvmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/clvmd/refresh_clvmd.c')
-rw-r--r--daemons/clvmd/refresh_clvmd.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/daemons/clvmd/refresh_clvmd.c b/daemons/clvmd/refresh_clvmd.c
index c1c3aa6f..c3cae35b 100644
--- a/daemons/clvmd/refresh_clvmd.c
+++ b/daemons/clvmd/refresh_clvmd.c
@@ -17,22 +17,14 @@
* Send a command to a running clvmd from the command-line
*/
-#define _GNU_SOURCE
-#define _FILE_OFFSET_BITS 64
+#include "clvmd-common.h"
+
+#include "clvm.h"
+#include "refresh_clvmd.h"
-#include "configure.h"
#include <stddef.h>
#include <sys/socket.h>
#include <sys/un.h>
-#include <errno.h>
-#include <unistd.h>
-#include "libdevmapper.h"
-#include <stdint.h>
-#include <stdio.h>
-#include <limits.h>
-
-#include "clvm.h"
-#include "refresh_clvmd.h"
typedef struct lvm_response {
char node[255];