mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
xl2tpd: fix build with musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
Index: xl2tpd-1.3.6/xl2tpd.c
|
||||||
|
===================================================================
|
||||||
|
--- xl2tpd-1.3.6.orig/xl2tpd.c
|
||||||
|
+++ xl2tpd-1.3.6/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)
|
||||||
Reference in New Issue
Block a user