diff options
-rw-r--r-- | src/compat.h | 6 | ||||
-rw-r--r-- | src/fastd.h | 6 | ||||
-rw-r--r-- | src/types.h | 1 |
3 files changed, 6 insertions, 7 deletions
diff --git a/src/compat.h b/src/compat.h index 5a24a97..16bf9d5 100644 --- a/src/compat.h +++ b/src/compat.h @@ -32,6 +32,12 @@ #include <stdint.h> #include <unistd.h> +#include <sys/types.h> +#include <sys/socket.h> + +#include <netinet/in.h> +#include <netinet/if_ether.h> + #ifndef ETH_ALEN #define ETH_ALEN 6 diff --git a/src/fastd.h b/src/fastd.h index 5399e90..b346bf0 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -35,18 +35,12 @@ #include <stdarg.h> #include <stddef.h> #include <stdio.h> -#include <stdint.h> #include <stdlib.h> #include <string.h> #include <syslog.h> #include <time.h> -#include <unistd.h> #include <sys/uio.h> -#include <sys/socket.h> - -#include <netinet/in.h> -#include <netinet/if_ether.h> /* This must be adjusted when new methods are added */ #define MAX_METHODS 3 diff --git a/src/types.h b/src/types.h index 856d321..b1026b5 100644 --- a/src/types.h +++ b/src/types.h @@ -37,7 +37,6 @@ #include <version.h> #include <stdbool.h> -#include <sys/types.h> typedef struct fastd_tristate { |