1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-07 08:02:55 +03:00

build: Fix missing struct in_addr warning.

This commit is contained in:
Andreas Schneider
2012-07-17 18:16:07 +02:00
parent a92c97b2e1
commit 782b2e37c6
13 changed files with 13 additions and 0 deletions

View File

@@ -46,6 +46,7 @@
#include <unistd.h> #include <unistd.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -27,6 +27,7 @@
#include <string.h> #include <string.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -25,6 +25,7 @@
#include <string.h> #include <string.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -30,6 +30,7 @@
#include <time.h> #include <time.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -26,6 +26,7 @@
#include <string.h> #include <string.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -46,6 +46,7 @@
#include <string.h> #include <string.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -48,6 +48,7 @@
#endif /* HAVE_LIBCRYPTO */ #endif /* HAVE_LIBCRYPTO */
#ifndef _WIN32 #ifndef _WIN32
# include <netinet/in.h>
# include <arpa/inet.h> # include <arpa/inet.h>
#endif #endif

View File

@@ -27,6 +27,7 @@
#include <stdlib.h> #include <stdlib.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -29,6 +29,7 @@
#include <errno.h> #include <errno.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -27,6 +27,7 @@
#include <string.h> #include <string.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -35,6 +35,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#else #else
#define S_IFSOCK 0140000 #define S_IFSOCK 0140000

View File

@@ -26,6 +26,7 @@
#include <stdio.h> #include <stdio.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif

View File

@@ -26,6 +26,7 @@
#include <string.h> #include <string.h>
#ifndef _WIN32 #ifndef _WIN32
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif