From 922ee2c5292ba898ac1ca72c69e877af307b0bc4 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 11 Oct 2013 14:45:56 +0200 Subject: 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. --- src/libstrongswan/crypto/crypto_tester.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/libstrongswan/crypto/crypto_tester.c') 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 +#ifdef HAVE_DLADDR +# define _GNU_SOURCE +# include +#endif #include #include "crypto_tester.h" -- cgit v1.2.3