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:
nia 2020-11-02 15:06:22 +01:00
parent 3395773c9f
commit 4cdeb1afea
1 changed files with 1 additions and 1 deletions

View File

@ -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