gammu: bump to mainstream v 1.36.4, full-language version build fix
[feed/packages.git] / net / xl2tpd / patches / 201-xl2tpd-control-define-_GNU_SOURCE-to-use-fmemopen-an.patch
1 From efa0a18b5dfd827792b07acdcb35101229ccf612 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 201/210] xl2tpd-control: define _GNU_SOURCE to use fmemopen()
5 and friends.
6
7 ---
8 xl2tpd-control.c | 2 ++
9 1 file changed, 2 insertions(+)
10
11 diff --git a/xl2tpd-control.c b/xl2tpd-control.c
12 index e5904d8..9b6235d 100644
13 --- a/xl2tpd-control.c
14 +++ b/xl2tpd-control.c
15 @@ -10,6 +10,8 @@
16 *
17 */
18
19 +#define _GNU_SOURCE
20 +
21 #include <stdio.h>
22 #include <string.h>
23 #include <stdarg.h>
24 --
25 1.7.10.4
26