aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 1a6c6047..9347e367 100644
--- a/socket.c
+++ b/socket.c
@@ -22,6 +22,7 @@
#include <sys/ioctl.h>
#if defined(STDC_HEADERS)
#include <string.h>
+#include <stdlib.h>
#endif
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
@@ -31,7 +32,6 @@
#else
#include <varargs.h>
#endif
-#include <stdlib.h>
#include <errno.h>
#include "socket.h"