diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-10-04 11:01:17 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-10-04 11:01:17 -0700 |
commit | e427ec7670638edcda282f168a5fd7f443dc0d2a (patch) | |
tree | a2906a440112cf9c8d47a50909698d5d0c9fa60d | |
parent | 0f02f634e9c92d096a1b0aa2129a2a848e470116 (diff) | |
download | klibc-e427ec7670638edcda282f168a5fd7f443dc0d2a.tar.gz |
[klibc] sys/socket.h: include <sys/types.h>
Include <sys/types.h> in <sys/socket.h>; it prevents <linux/types.h>
from unwantedly getting pulled in -- at least in current kernels that
is a warning and not a failure, but it's still ugly.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | usr/include/sys/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/include/sys/socket.h b/usr/include/sys/socket.h index 53b7ea40eef8d..f09fd03a24a3a 100644 --- a/usr/include/sys/socket.h +++ b/usr/include/sys/socket.h @@ -5,6 +5,7 @@ #ifndef _SYS_SOCKET_H #define _SYS_SOCKET_H +#include <sys/types.h> #include <klibc/extern.h> #include <klibc/compiler.h> #include <klibc/sysconfig.h> |