summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fd.c b/fd.c
index 3fa07d1..62fae22 100644
--- a/fd.c
+++ b/fd.c
@@ -66,6 +66,9 @@
#include <netdb.h> /* struct servent * and struct hostent * */
#include <errno.h> /* for EINTR, EADDRINUSE, ... */
+#ifndef USE_XTRANS
+#include <arpa/inet.h> /* for inet_addr */
+#endif
/*
All of this code is to support the handling of file descriptors (FD).