strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ddf62
)
utils: Include stdio.h for fmemopen() replacement
author
Tobias Brunner
<tobias@strongswan.org>
Tue, 29 Oct 2013 15:18:35 +0000
(16:18 +0100)
committer
Tobias Brunner
<tobias@strongswan.org>
Tue, 29 Oct 2013 15:18:35 +0000
(16:18 +0100)
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
patch
|
blob
|
history
diff --git
a/src/libstrongswan/utils/utils.h
b/src/libstrongswan/utils/utils.h
index
f1bac34
..
cda7edf
100644
(file)
--- 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 <stdio.h>
/**
* fmemopen(3) fallback using BSD funopen.
*