]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
sshkey: uclibc only defines fmemopen(3) if _GNU_SOURCE is defined
authorTobias Brunner <tobias@strongswan.org>
Wed, 19 Feb 2014 14:48:06 +0000 (15:48 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 19 Feb 2014 14:55:20 +0000 (15:55 +0100)
Fixes #516.

src/libstrongswan/plugins/sshkey/sshkey_builder.c

index 569b0b73840ec5a03030673c6ce1398b87083951..652663108b06f0c5911eb89b884c71cf467b42a8 100644 (file)
@@ -13,6 +13,7 @@
  * for more details.
  */
 
+#define _GNU_SOURCE /* for fmemopen() */
 #include <unistd.h>
 #include <stdio.h>
 #include <errno.h>