diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/containers.h | 2 | ||||
-rw-r--r-- | src/tools/ipc.c | 2 | ||||
-rw-r--r-- | src/tools/show.c | 1 | ||||
-rw-r--r-- | src/tools/showconf.c | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/src/tools/containers.h b/src/tools/containers.h index a23da1c..455d998 100644 --- a/src/tools/containers.h +++ b/src/tools/containers.h @@ -9,9 +9,9 @@ #include <stdint.h> #include <stdlib.h> #include <time.h> +#include <sys/socket.h> #include <net/if.h> #include <netinet/in.h> -#include <sys/socket.h> #include "../uapi/wireguard.h" diff --git a/src/tools/ipc.c b/src/tools/ipc.c index cdb152b..e29a939 100644 --- a/src/tools/ipc.c +++ b/src/tools/ipc.c @@ -12,6 +12,7 @@ #include "mnlg.h" #endif #include <netinet/in.h> +#include <sys/socket.h> #include <net/if.h> #include <errno.h> #include <stdbool.h> @@ -26,7 +27,6 @@ #include <signal.h> #include <netdb.h> #include <limits.h> -#include <sys/socket.h> #include <sys/types.h> #include <sys/ioctl.h> #include <sys/types.h> diff --git a/src/tools/show.c b/src/tools/show.c index 1b8712f..415489b 100644 --- a/src/tools/show.c +++ b/src/tools/show.c @@ -6,6 +6,7 @@ #include <arpa/inet.h> #include <inttypes.h> #include <netinet/in.h> +#include <sys/socket.h> #include <net/if.h> #include <stdbool.h> #include <stddef.h> diff --git a/src/tools/showconf.c b/src/tools/showconf.c index 390273a..313ad23 100644 --- a/src/tools/showconf.c +++ b/src/tools/showconf.c @@ -5,6 +5,7 @@ #include <arpa/inet.h> #include <netinet/in.h> +#include <sys/socket.h> #include <net/if.h> #include <stddef.h> #include <stdio.h> |