diff options
Diffstat (limited to 'compat/compat.h')
-rw-r--r-- | compat/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compat/compat.h b/compat/compat.h index b2e27368..c1ee0f93 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -30,6 +30,10 @@ extern "C" { #endif +#if !STD_GETPWUID +#define _POSIX_PTHREAD_SEMANTICS 1 +#endif + #if !HAVE_GETLINE #include <stdio.h> #include <unistd.h> |