packages/net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch

12 lines
266 B
Diff
Raw Normal View History

--- a/xl2tpd.c
+++ b/xl2tpd.c
@@ -30,7 +30,7 @@
#include <errno.h>
#include <unistd.h>
#include <time.h>
-#if (__GLIBC__ < 2)
+#if defined (__GLIBC__) && (__GLIBC__ < 2)
# if defined(FREEBSD) || defined(OPENBSD)
# include <sys/signal.h>
# elif defined(LINUX)