diff options
-rw-r--r-- | components/ip.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/components/ip.c b/components/ip.c index 422b448..b1f8a05 100644 --- a/components/ip.c +++ b/components/ip.c @@ -1,14 +1,13 @@ /* See LICENSE file for copyright and license details. */ -#if defined(__OpenBSD__) -#include <sys/types.h> -#include <sys/socket.h> -#endif - #include <errno.h> #include <ifaddrs.h> #include <netdb.h> #include <stdio.h> #include <string.h> +#if defined(__OpenBSD__) +#include <sys/types.h> +#include <sys/socket.h> +#endif #include "../util.h" |