diff options
-rw-r--r-- | sys/net/if.h | 2 | ||||
-rw-r--r-- | sys/netinet/tcp.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index d1f3883..4f2dc6f 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -43,9 +43,11 @@ /* * <net/if.h> does not depend on <sys/time.h> on most other systems. This * helps userland compatibility. (struct timeval ifi_lastchange) + * The same holds for <sys/socket.h>. (struct sockaddr ifru_addr) */ #ifndef _KERNEL #include <sys/time.h> +#include <sys/socket.h> #endif struct ifnet; diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h index 443425f..805a561 100644 --- a/sys/netinet/tcp.h +++ b/sys/netinet/tcp.h @@ -34,6 +34,7 @@ #define _NETINET_TCP_H_ #include <sys/cdefs.h> +#include <sys/types.h> #if __BSD_VISIBLE |