d75010f9a2b564066256b70219b3b7a8c2854797
[feed/packages.git] / net / xl2tpd / patches / 202-xl2tpd-control-define-_GNU_SOURCE-to-use-fmemopen-an.patch
1 From 76f444d284c0b0a351a488954e0d39b72a0ce211 Mon Sep 17 00:00:00 2001
2 From: Yousong Zhou <yszhou4tech@gmail.com>
3 Date: Wed, 29 Apr 2015 10:32:37 +0800
4 Subject: [PATCH 2/7] xl2tpd-control: define _GNU_SOURCE to use fmemopen() and
5 friends.
6
7 ---
8 xl2tpd-control.c | 2 ++
9 1 file changed, 2 insertions(+)
10
11 --- a/xl2tpd-control.c
12 +++ b/xl2tpd-control.c
13 @@ -10,6 +10,8 @@
14 *
15 */
16
17 +#define _GNU_SOURCE
18 +
19 #include <stdio.h>
20 #include <string.h>
21 #include <stdarg.h>