diff options
author | Martin Willi <martin@revosec.ch> | 2013-10-11 14:45:56 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-06-03 12:24:34 +0200 |
commit | 922ee2c5292ba898ac1ca72c69e877af307b0bc4 (patch) | |
tree | bfa2860e468daefd2a356e5702fe23f5472b10c1 /src/libstrongswan/crypto/crypto_tester.c | |
parent | b4c51061c3c649e948324d1f3ad37ef6e48f8b96 (diff) | |
download | strongswan-922ee2c5292ba898ac1ca72c69e877af307b0bc4.tar.bz2 strongswan-922ee2c5292ba898ac1ca72c69e877af307b0bc4.tar.xz |
windows: Add a common Windows header for platform specific wrappers
Include some more basic system headers in utils.h, so we can use that common
header on the different platforms.
Diffstat (limited to 'src/libstrongswan/crypto/crypto_tester.c')
-rw-r--r-- | src/libstrongswan/crypto/crypto_tester.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstrongswan/crypto/crypto_tester.c b/src/libstrongswan/crypto/crypto_tester.c index c6780daf1..9e1d4dd90 100644 --- a/src/libstrongswan/crypto/crypto_tester.c +++ b/src/libstrongswan/crypto/crypto_tester.c @@ -14,8 +14,10 @@ * for more details. */ -#define _GNU_SOURCE -#include <dlfcn.h> +#ifdef HAVE_DLADDR +# define _GNU_SOURCE +# include <dlfcn.h> +#endif #include <time.h> #include "crypto_tester.h" |