Remove unnecessary check for FreeBSD
The non-timerfd code path depends on SIGALRM being defined, so signal.h always needs to be included. This allows forked-daapd to build and run on NetBSD and probably other BSD systems too.
This commit is contained in:
parent
3395773c9f
commit
4cdeb1afea
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
#ifdef HAVE_TIMERFD
|
#ifdef HAVE_TIMERFD
|
||||||
# include <sys/timerfd.h>
|
# include <sys/timerfd.h>
|
||||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
#else
|
||||||
# include <signal.h>
|
# include <signal.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue