summaryrefslogtreecommitdiff
path: root/xsltproc/testThreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'xsltproc/testThreads.c')
-rw-r--r--xsltproc/testThreads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xsltproc/testThreads.c b/xsltproc/testThreads.c
index 05f0039c..7c226446 100644
--- a/xsltproc/testThreads.c
+++ b/xsltproc/testThreads.c
@@ -16,7 +16,9 @@
#include <stdlib.h>
#include <stdio.h>
+#ifndef _REENTRANT
#define _REENTRANT
+#endif
#include <libxml/xmlversion.h>
#if defined(LIBXML_THREAD_ENABLED) && defined(HAVE_PTHREAD_H)