From 6eef4b8c6263af1938ea52bc6e3c6976678225ff Mon Sep 17 00:00:00 2001 From: Jacob Myers Date: Fri, 11 Jun 2010 21:58:38 -0400 Subject: These patches get usbmuxd compiling/working on FreeBSD. With minor changes, it could work on other BSD's also. --- daemon/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/main.c') 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; -- cgit v1.1-32-gdbae