mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
Fix unit tests for opensolaris
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifndef _WIN32
|
||||
|
||||
#define _POSIX_PTHREAD_SEMANTICS
|
||||
#include <pwd.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#define LIBSSH_STATIC
|
||||
|
||||
#ifndef _WIN32
|
||||
#define _POSIX_PTHREAD_SEMANTICS
|
||||
# include <pwd.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user