X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=compat%2Fcompat.h;h=0c4ac66ff5912bee6d38621218ef912b16f88c2e;hb=49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f;hp=b2e27368cf0690701c81b692fc0f9dce4c7216f4;hpb=d43f6c00b351424e903c2f2b71c34bc5902b467e;p=obsolete%2Fnotmuch-old diff --git a/compat/compat.h b/compat/compat.h index b2e27368..0c4ac66f 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -30,6 +30,13 @@ extern "C" { #endif +#if !STD_GETPWUID +#define _POSIX_PTHREAD_SEMANTICS 1 +#endif +#if !STD_ASCTIME +#define _POSIX_PTHREAD_SEMANTICS 1 +#endif + #if !HAVE_GETLINE #include #include