summaryrefslogtreecommitdiffstats
path: root/tools/iproxy.c
diff options
context:
space:
mode:
authorGravatar Jacob Myers2010-06-11 21:58:38 -0400
committerGravatar Hector Martin2010-06-12 04:28:57 +0200
commit6eef4b8c6263af1938ea52bc6e3c6976678225ff (patch)
tree21d79d5e749715d845754bb81444c33d50e48bcb /tools/iproxy.c
parent433f675157bfcbbb43cf93ac8cadb0120084098b (diff)
downloadusbmuxd-6eef4b8c6263af1938ea52bc6e3c6976678225ff.tar.gz
usbmuxd-6eef4b8c6263af1938ea52bc6e3c6976678225ff.tar.bz2
These patches get usbmuxd compiling/working on FreeBSD. With minor changes, it could work on other BSD's also.
Diffstat (limited to 'tools/iproxy.c')
-rw-r--r--tools/iproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/iproxy.c b/tools/iproxy.c
index 1855c67..4469c48 100644
--- a/tools/iproxy.c
+++ b/tools/iproxy.c
@@ -42,6 +42,7 @@ typedef unsigned int socklen_t;
#include <arpa/inet.h>
#endif
#include <pthread.h>
+#include <netinet/in.h>
#include "sock_stuff.h"
#include "usbmuxd.h"