diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-20 21:54:59 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-04-20 21:54:59 +0100 |
commit | 19c89bcd4ff68a277ea2275eb2df3133aa4b432a (patch) | |
tree | e1919a303793644845cf783292aa7754b404717a /2.6.25 | |
parent | create lzma tarballs (diff) | |
download | linux-headers-patches-19c89bcd4ff68a277ea2275eb2df3133aa4b432a.tar.gz linux-headers-patches-19c89bcd4ff68a277ea2275eb2df3133aa4b432a.tar.bz2 linux-headers-patches-19c89bcd4ff68a277ea2275eb2df3133aa4b432a.zip |
have linux/types.h pull in sys/types.h
Diffstat (limited to '2.6.25')
-rw-r--r-- | 2.6.25/07_all_pull-libc-headers-linux.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2.6.25/07_all_pull-libc-headers-linux.patch b/2.6.25/07_all_pull-libc-headers-linux.patch index 15ea0d5..12880b3 100644 --- a/2.6.25/07_all_pull-libc-headers-linux.patch +++ b/2.6.25/07_all_pull-libc-headers-linux.patch @@ -13,6 +13,16 @@ since there is no obvious (at least to me) answer here, we hack the linux/ headers to simply pull in userspace headers and ignore the linux/ ones completely. this seems to give a proper clean userspace experience. +--- a/include/linux/types.h ++++ b/include/linux/types.h +@@ -8,6 +8,7 @@ + + #endif + ++#include <sys/types.h> + #include <linux/posix_types.h> + #include <asm/types.h> + --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -303,4 +303,9 @@ extern int put_cmsg(struct msghdr*, int |