diff options
Diffstat (limited to 'daemons/clvmd/clvmd-singlenode.c')
-rw-r--r-- | daemons/clvmd/clvmd-singlenode.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/daemons/clvmd/clvmd-singlenode.c b/daemons/clvmd/clvmd-singlenode.c index cbaf5dc9..ec98f2cb 100644 --- a/daemons/clvmd/clvmd-singlenode.c +++ b/daemons/clvmd/clvmd-singlenode.c @@ -12,26 +12,20 @@ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define _GNU_SOURCE -#define _FILE_OFFSET_BITS 64 - -#include "configure.h" -#include <netinet/in.h> -#include <sys/un.h> -#include <sys/socket.h> -#include <unistd.h> -#include <fcntl.h> -#include "libdevmapper.h" +#include "clvmd-common.h" #include <pthread.h> #include "locking.h" -#include "lvm-logging.h" #include "clvm.h" #include "clvmd-comms.h" #include "lvm-functions.h" #include "clvmd.h" +#include <sys/un.h> +#include <sys/socket.h> +#include <fcntl.h> + static const char SINGLENODE_CLVMD_SOCKNAME[] = "\0singlenode_clvmd"; static int listen_fd = -1; |