X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=compat%2Fcompat.h;fp=compat%2Fcompat.h;h=c1ee0f93e9a907463a49dd2d5aee5ea6d96cc493;hp=b2e27368cf0690701c81b692fc0f9dce4c7216f4;hb=31c7001c99e042c2722217410d8a913875d44149;hpb=e41cd1c518d7c5af565d4bed284bbd8a66366da1 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 #include