diff options
author | Jacob Myers | 2010-06-11 21:58:38 -0400 |
---|---|---|
committer | Hector Martin | 2010-06-12 04:28:57 +0200 |
commit | 6eef4b8c6263af1938ea52bc6e3c6976678225ff (patch) | |
tree | 21d79d5e749715d845754bb81444c33d50e48bcb /daemon | |
parent | 433f675157bfcbbb43cf93ac8cadb0120084098b (diff) | |
download | usbmuxd-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 'daemon')
-rw-r--r-- | daemon/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/main.c b/daemon/main.c index 789a202..140bee1 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -147,7 +147,7 @@ void set_signal_handlers(void) sigaction(SIGUSR2, &sa, NULL); } -#ifdef __APPLE__ +#if defined(__FreeBSD__) || defined(__APPLE__) static int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *sigmask) { int ready; |