summaryrefslogtreecommitdiffstats
path: root/test/encodingstest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/encodingstest.c')
-rw-r--r--test/encodingstest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/encodingstest.c b/test/encodingstest.c
index 5f84a5b..821b2ae 100644
--- a/test/encodingstest.c
+++ b/test/encodingstest.c
@@ -1,4 +1,6 @@
+#ifdef __STRICT_ANSI__
#define _BSD_SOURCE
+#endif
#include <time.h>
#include <stdarg.h>
#include <rfb/rfb.h>