diff --git a/dtls_debug.c b/dtls_debug.c index 9c9a077..236fe70 100644 --- a/dtls_debug.c +++ b/dtls_debug.c @@ -17,9 +17,11 @@ #include "tinydtls.h" +#ifdef IS_WINDOWS #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif /* _GNU_SOURCE */ +#endif /* IS_WINDOWS */ #if defined(HAVE_ASSERT_H) && !defined(assert) #include