Fix compilation of opensolaris

This commit is contained in:
Aris Adamantiadis
2010-02-12 10:08:22 +01:00
parent 6ae69e0df0
commit 8baaf64a72

View File

@@ -38,6 +38,8 @@
#include <shlobj.h>
#include <direct.h>
#else
/* This is needed for a standard getpwuid_r on opensolaris */
#define _POSIX_PTHREAD_SEMANTICS
#include <pwd.h>
#include <arpa/inet.h>
#endif