Yousong Zhou <yszhou4tech@gmail.com> made a couple of useful fixes mostly for the xl2tpd-control tool which was broken. imported them (patches/2*) here. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
11 lines
266 B
Diff
11 lines
266 B
Diff
--- 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)
|