commit d4381c289f8d12d7eabb5847234743edc03161ba parent b47fe96be480fd68c23642498f8a72b86613a0ae Author: Daniel Golle <daniel@makrotopia.org> Date: Wed, 13 May 2015 16:12:04 +0200 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 <daniel@makrotopia.org> Diffstat:
| A | net/xl2tpd/patches/250-xl2tpd-control-atexit-needs-stdlib.patch | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/net/xl2tpd/patches/250-xl2tpd-control-atexit-needs-stdlib.patch 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 <stdlib.h> + #include <stdio.h> + #include <string.h> + #include <stdarg.h>