diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-02-19 15:48:06 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-02-19 15:55:20 +0100 |
commit | 09417da49cff839fead23a60375bc50bd94a49d3 (patch) | |
tree | 8cf682996770cd9d4778efbf300377be82d66617 /src/libstrongswan/plugins/sshkey/sshkey_builder.c | |
parent | 6122bfd2eb56e5f0b4e41b0c99ee75d605ea911b (diff) | |
download | strongswan-09417da49cff839fead23a60375bc50bd94a49d3.tar.bz2 strongswan-09417da49cff839fead23a60375bc50bd94a49d3.tar.xz |
sshkey: uclibc only defines fmemopen(3) if _GNU_SOURCE is defined
Fixes #516.
Diffstat (limited to 'src/libstrongswan/plugins/sshkey/sshkey_builder.c')
-rw-r--r-- | src/libstrongswan/plugins/sshkey/sshkey_builder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/sshkey/sshkey_builder.c b/src/libstrongswan/plugins/sshkey/sshkey_builder.c index 569b0b738..652663108 100644 --- a/src/libstrongswan/plugins/sshkey/sshkey_builder.c +++ b/src/libstrongswan/plugins/sshkey/sshkey_builder.c @@ -13,6 +13,7 @@ * for more details. */ +#define _GNU_SOURCE /* for fmemopen() */ #include <unistd.h> #include <stdio.h> #include <errno.h> |