summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/module.defs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/module.defs b/test/module.defs
index 590c49ea2..66e95f2de 100644
--- a/test/module.defs
+++ b/test/module.defs
@@ -56,6 +56,7 @@ else ifeq ($(BUILD.system),linux)
TEST.GCC.l += pthread dl m
else ifeq ($(BUILD.system),solaris)
TEST.GCC.l += pthread nsl socket iconv
+ TEST.GCC.D += _POSIX_C_SOURCE=200112L __EXTENSIONS__
else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
ifeq ($(HAS.dlfcn),1)
TEST.GCC.l += dl