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:22 +0100 |
| commit | bd47ff75ba0e375efc10fdd16eb869013ac65b20 (patch) | |
| tree | a52b54b9715424df1ff63d464d6a8cd70a46b138 | |
| parent | 0016ded7f90e13fc50018d1fb2d4ad92f49aca17 (diff) | |
Fix compilation of opensolaris
| -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 |
