From: Tobias Brunner Date: Tue, 29 Oct 2013 15:18:35 +0000 (+0100) Subject: utils: Include stdio.h for fmemopen() replacement X-Git-Tag: 5.1.1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac29360fc9b0f12ee6210f472052f4da17afa9a;p=thirdparty%2Fstrongswan.git utils: Include stdio.h for fmemopen() replacement This might now be required because Vstr is not necessarily required anymore, which means stdio.h might not be pulled in by prinf_hook.h. --- diff --git a/src/libstrongswan/utils/utils.h b/src/libstrongswan/utils/utils.h index f1bac34213..cda7edf083 100644 --- a/src/libstrongswan/utils/utils.h +++ b/src/libstrongswan/utils/utils.h @@ -769,6 +769,7 @@ bool cas_ptr(void **ptr, void *oldval, void *newval); # ifdef HAVE_FUNOPEN # define HAVE_FMEMOPEN # define HAVE_FMEMOPEN_FALLBACK +# include /** * fmemopen(3) fallback using BSD funopen. *