diff options
Diffstat (limited to 'apps/s_socket.c')
-rw-r--r-- | apps/s_socket.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c index 45c2939052..888b66df18 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -56,6 +56,12 @@ * [including the GNU Public Licence.] */ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <errno.h> +#include <signal.h> + /* With IPv6, it looks like Digital has mixed up the proper order of recursive header file inclusion, resulting in the compiler complaining that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which @@ -65,11 +71,6 @@ typedef unsigned int u_int; #endif -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <errno.h> -#include <signal.h> #define USE_SOCKETS #define NON_MAIN #include "apps.h" |