Fix unit tests for opensolaris

This commit is contained in:
Aris Adamantiadis
2011-01-11 17:48:48 +01:00
parent 7fbb926c0b
commit a17472ff2b
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
#include <sys/types.h>
#ifndef _WIN32
#define _POSIX_PTHREAD_SEMANTICS
#include <pwd.h>
#endif

View File

@@ -1,6 +1,7 @@
#define LIBSSH_STATIC
#ifndef _WIN32
#define _POSIX_PTHREAD_SEMANTICS
# include <pwd.h>
#endif