aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
Diffstat (limited to 'etrn.c')
-rw-r--r--etrn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/etrn.c b/etrn.c
index 26035723..61e3fd9a 100644
--- a/etrn.c
+++ b/etrn.c
@@ -9,6 +9,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
+#ifdef HAVE_NET_SOCKET_H /* BeOS needs this */
+#include <net/socket.h>
+#endif
#include <netdb.h>
#include <errno.h>
#include <unistd.h>