summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorSebastian2016-02-10 21:14:40 +0100
committerSebastian2016-02-11 00:09:39 +0100
commit34ddebc84cb9ea933cfdb9cc3fa688b6a2fae78e (patch)
treea1f8bc19d7ae76ea00622edd65bb2676d624ba05 /src/client
parent[SHARED] signal.h -> fdsignal.h (diff)
downloaddnbd3-34ddebc84cb9ea933cfdb9cc3fa688b6a2fae78e.tar.gz
dnbd3-34ddebc84cb9ea933cfdb9cc3fa688b6a2fae78e.tar.xz
dnbd3-34ddebc84cb9ea933cfdb9cc3fa688b6a2fae78e.zip
cleanup commits
Diffstat (limited to 'src/client')
-rw-r--r--src/client/client.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/client/client.c b/src/client/client.c
index b3069fe..06f6e23 100644
--- a/src/client/client.c
+++ b/src/client/client.c
@@ -18,6 +18,9 @@
*
*/
+#include "../types.h"
+#include "../version.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
@@ -28,13 +31,9 @@
#include <netdb.h>
#include <arpa/inet.h>
#include <string.h>
-#include <unistd.h>
#include <sys/stat.h>
-#include <sys/socket.h>
#include <sys/un.h>
#include <errno.h>
-#include "../types.h"
-#include "../version.h"
#define SOCK_PATH "/var/run/dnbd3.socket"
#define SOCK_BUFFER 1000