summaryrefslogtreecommitdiffstats
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
parent3227a118296a2e8cfac15e701b0422ae15c8196f (diff)
downloadusbmuxd-8bd54babbe6d3309f78f9d8729d93f83c14d23f5.tar.gz
usbmuxd-8bd54babbe6d3309f78f9d8729d93f83c14d23f5.tar.bz2
Fix compile under Darwin with more includes, also silences some warnings.
-rw-r--r--daemon/client.c1
-rw-r--r--libusbmuxd/sock_stuff.c2
-rw-r--r--tools/iproxy.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/daemon/client.c b/daemon/client.c
index 0ba1c24..3481b16 100644
--- a/daemon/client.c
+++ b/daemon/client.c
@@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#endif
#include <stdlib.h>
+#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
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>
diff --git a/tools/iproxy.c b/tools/iproxy.c
index 657ac89..f10d701 100644
--- a/tools/iproxy.c
+++ b/tools/iproxy.c
@@ -23,6 +23,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <fcntl.h>
#include <stddef.h>
#include <sys/socket.h>