From d4381c289f8d12d7eabb5847234743edc03161ba Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 13 May 2015 16:12:04 +0200 Subject: [PATCH] xl2tpd: fix a minor compiler warning gcc complains about atexit() being implicitely defined in xl2tpd-control.c Fix that by including stdlib.h in xl2tpd-control.c Signed-off-by: Daniel Golle --- .../250-xl2tpd-control-atexit-needs-stdlib.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net/xl2tpd/patches/250-xl2tpd-control-atexit-needs-stdlib.patch diff --git a/net/xl2tpd/patches/250-xl2tpd-control-atexit-needs-stdlib.patch b/net/xl2tpd/patches/250-xl2tpd-control-atexit-needs-stdlib.patch new file mode 100644 index 000000000..e4dad8e8d --- /dev/null +++ b/net/xl2tpd/patches/250-xl2tpd-control-atexit-needs-stdlib.patch @@ -0,0 +1,12 @@ +Index: xl2tpd-1.3.7pre20141126/xl2tpd-control.c +=================================================================== +--- xl2tpd-1.3.7pre20141126.orig/xl2tpd-control.c ++++ xl2tpd-1.3.7pre20141126/xl2tpd-control.c +@@ -12,6 +12,7 @@ + + #define _GNU_SOURCE + ++#include + #include + #include + #include