mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-28 08:20:59 -04:00
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…
x
Reference in New Issue
Block a user