summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/sock_stuff.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-09-08 14:21:11 +0200
committerGravatar Nikias Bassen2009-09-08 14:21:11 +0200
commit8bd54babbe6d3309f78f9d8729d93f83c14d23f5 (patch)
tree1c464e36821d6362ae279e282bbc4df63ed61e33 /libusbmuxd/sock_stuff.c
parent3227a118296a2e8cfac15e701b0422ae15c8196f (diff)
downloadusbmuxd-8bd54babbe6d3309f78f9d8729d93f83c14d23f5.tar.gz
usbmuxd-8bd54babbe6d3309f78f9d8729d93f83c14d23f5.tar.bz2
Fix compile under Darwin with more includes, also silences some warnings.
Diffstat (limited to 'libusbmuxd/sock_stuff.c')
-rw-r--r--libusbmuxd/sock_stuff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libusbmuxd/sock_stuff.c b/libusbmuxd/sock_stuff.c
index e60370c..2c68659 100644
--- a/libusbmuxd/sock_stuff.c
+++ b/libusbmuxd/sock_stuff.c
@@ -1,5 +1,7 @@
#include <stdio.h>
#include <stddef.h>
+#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <sys/time.h>