aboutsummaryrefslogtreecommitdiffstats
path: root/ext/socket
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/socket.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 29fa71f8ae..3db05df7c8 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -25,6 +25,10 @@
#include <sys/uio.h>
#endif
+#ifdef HAVE_XTI_H
+#include <xti.h>
+#endif
+
#ifndef _WIN32
#if defined(__BEOS__)
# include <net/socket.h>