diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-02-12 10:08:22 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-02-12 10:08:54 +0100 |
commit | 8baaf64a72e02c1c7f37b6345cd6db5ac2fdf06e (patch) | |
tree | d6645a55ff8b168e980c09575ef86fd9e63da1e5 /libssh | |
parent | 6ae69e0df08d8f75ee538e8a6ea8d7b0f6641173 (diff) | |
download | libssh-8baaf64a72e02c1c7f37b6345cd6db5ac2fdf06e.tar.gz libssh-8baaf64a72e02c1c7f37b6345cd6db5ac2fdf06e.tar.xz libssh-8baaf64a72e02c1c7f37b6345cd6db5ac2fdf06e.zip |
Fix compilation of opensolaris
Diffstat (limited to 'libssh')
-rw-r--r-- | libssh/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/misc.c b/libssh/misc.c index b94241a4..f64c395a 100644 --- a/libssh/misc.c +++ b/libssh/misc.c @@ -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 |