define _POSIX_PTHREAD_SEMANTICS so we get posix getpwnam_r
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14971 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -61,6 +61,9 @@
|
|||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_PWD_H
|
#ifdef HAVE_PWD_H
|
||||||
|
#undef _POSIX_PTHREAD_SEMANTICS
|
||||||
|
/* This gets us the 5-arg getpwnam_r on Solaris 9. */
|
||||||
|
#define _POSIX_PTHREAD_SEMANTICS
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user