aboutsummaryrefslogtreecommitdiffhomepage
path: root/compat/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/compat.h')
-rw-r--r--compat/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/compat.h b/compat/compat.h
index c1ee0f93..0c4ac66f 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -33,6 +33,9 @@ extern "C" {
#if !STD_GETPWUID
#define _POSIX_PTHREAD_SEMANTICS 1
#endif
+#if !STD_ASCTIME
+#define _POSIX_PTHREAD_SEMANTICS 1
+#endif
#if !HAVE_GETLINE
#include <stdio.h>