summaryrefslogtreecommitdiff
path: root/main/xl2tpd/xl2tpd-compile.patch
blob: b37baa550679f373212692395ee21bf9b6cb724b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./xl2tpd.c.orig
+++ ./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)