diff options
| author | 2009-09-08 14:21:11 +0200 | |
|---|---|---|
| committer | 2009-09-08 14:21:11 +0200 | |
| commit | 8bd54babbe6d3309f78f9d8729d93f83c14d23f5 (patch) | |
| tree | 1c464e36821d6362ae279e282bbc4df63ed61e33 | |
| parent | 3227a118296a2e8cfac15e701b0422ae15c8196f (diff) | |
| download | usbmuxd-8bd54babbe6d3309f78f9d8729d93f83c14d23f5.tar.gz usbmuxd-8bd54babbe6d3309f78f9d8729d93f83c14d23f5.tar.bz2 | |
Fix compile under Darwin with more includes, also silences some warnings.
| -rw-r--r-- | daemon/client.c | 1 | ||||
| -rw-r--r-- | libusbmuxd/sock_stuff.c | 2 | ||||
| -rw-r--r-- | tools/iproxy.c | 1 |
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 | |||
| 23 | #endif | 23 | #endif |
| 24 | 24 | ||
| 25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 26 | #include <string.h> | ||
| 26 | #include <errno.h> | 27 | #include <errno.h> |
| 27 | #include <unistd.h> | 28 | #include <unistd.h> |
| 28 | #include <sys/types.h> | 29 | #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 @@ | |||
| 1 | #include <stdio.h> | 1 | #include <stdio.h> |
| 2 | #include <stddef.h> | 2 | #include <stddef.h> |
| 3 | #include <stdlib.h> | ||
| 4 | #include <string.h> | ||
| 3 | #include <unistd.h> | 5 | #include <unistd.h> |
| 4 | #include <errno.h> | 6 | #include <errno.h> |
| 5 | #include <sys/time.h> | 7 | #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 @@ | |||
| 23 | */ | 23 | */ |
| 24 | #include <stdio.h> | 24 | #include <stdio.h> |
| 25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 26 | #include <string.h> | ||
| 26 | #include <fcntl.h> | 27 | #include <fcntl.h> |
| 27 | #include <stddef.h> | 28 | #include <stddef.h> |
| 28 | #include <sys/socket.h> | 29 | #include <sys/socket.h> |
