diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-02-13 10:32:47 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-02-13 12:30:17 +0100 |
commit | 1199ad8f477cf27fbdc8cf06fc82934f10f72489 (patch) | |
tree | cbac4ff4738bc2df9f26a7f9590916553159fc95 /src | |
parent | c12559f8f684c1cb6780d8828a8121db3a332f73 (diff) | |
download | libssh-1199ad8f477cf27fbdc8cf06fc82934f10f72489.tar.gz libssh-1199ad8f477cf27fbdc8cf06fc82934f10f72489.tar.xz libssh-1199ad8f477cf27fbdc8cf06fc82934f10f72489.zip |
misc: Fixed ssh_is_ipaddr on FreeBSD.
(cherry picked from commit d1ddec00d99e96009eebead8e1263efcfe80f9ee)
Diffstat (limited to 'src')
-rw-r--r-- | src/misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,9 @@ /* This is needed for a standard getpwuid_r on opensolaris */ #define _POSIX_PTHREAD_SEMANTICS #include <pwd.h> +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> #include <arpa/inet.h> #endif |