summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/socketpair.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/socketpair.c')
-rw-r--r--otherlibs/unix/socketpair.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/otherlibs/unix/socketpair.c b/otherlibs/unix/socketpair.c
index 655667c4e..67dec4ee1 100644
--- a/otherlibs/unix/socketpair.c
+++ b/otherlibs/unix/socketpair.c
@@ -17,6 +17,8 @@
#ifdef HAS_SOCKETS
+#include <sys/socket.h>
+
extern int socket_domain_table[], socket_type_table[];
value unix_socketpair(domain, type, proto) /* ML */