From 5ac29360fc9b0f12ee6210f472052f4da17afa9a Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 29 Oct 2013 16:18:35 +0100 Subject: [PATCH] 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. --- src/libstrongswan/utils/utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstrongswan/utils/utils.h b/src/libstrongswan/utils/utils.h index f1bac3421..cda7edf08 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. *