From 0b3a142cc7b5c9a4fa18de04cd16a2f1bede8995 Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston <jeremyhu@apple.com>
Date: Sun, 4 Mar 2012 18:18:36 -0800
Subject: [PATCH] Include <arpa/inet.h> for inet_addr in !USE_XTRANS case

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
---
 fd.c |    3 +++
 1 file changed, 3 insertions(+)

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).
-- 
1.7.9.2

