summaryrefslogtreecommitdiff
path: root/pr/src/pthreads/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'pr/src/pthreads/Makefile.in')
-rw-r--r--pr/src/pthreads/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/pr/src/pthreads/Makefile.in b/pr/src/pthreads/Makefile.in
index a43fd6ac..8eb237d4 100644
--- a/pr/src/pthreads/Makefile.in
+++ b/pr/src/pthreads/Makefile.in
@@ -63,6 +63,11 @@ INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/incl
DEFINES += -D_NSPR_BUILD_
+ifeq ($(OS_ARCH),Linux)
+# for pthread_mutexattr_settype
+DEFINES += -D_XOPEN_SOURCE=500
+endif
+
include $(topsrcdir)/config/rules.mk
export:: $(TARGETS)