summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/shutdown.c')
-rw-r--r--otherlibs/unix/shutdown.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/otherlibs/unix/shutdown.c b/otherlibs/unix/shutdown.c
index f0750cf7e..96098b7c5 100644
--- a/otherlibs/unix/shutdown.c
+++ b/otherlibs/unix/shutdown.c
@@ -16,6 +16,8 @@
#ifdef HAS_SOCKETS
+#include <sys/socket.h>
+
static int shutdown_command_table[] = {
0, 1, 2
};