]> git.notmuchmail.org Git - notmuch/blobdiff - compat/compat.h
getpwuid: check for standards compliance (Solaris support)
[notmuch] / compat / compat.h
index b2e27368cf0690701c81b692fc0f9dce4c7216f4..c1ee0f93e9a907463a49dd2d5aee5ea6d96cc493 100644 (file)
 extern "C" {
 #endif
 
+#if !STD_GETPWUID
+#define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+
 #if !HAVE_GETLINE
 #include <stdio.h>
 #include <unistd.h>