diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/files/0001-Define-in_-structs-for-non-glibc-system-libs.patch')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/files/0001-Define-in_-structs-for-non-glibc-system-libs.patch | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/files/0001-Define-in_-structs-for-non-glibc-system-libs.patch b/meta-initramfs/recipes-devtools/klibc/files/0001-Define-in_-structs-for-non-glibc-system-libs.patch index e7a0cce837..29873cf7b5 100644 --- a/meta-initramfs/recipes-devtools/klibc/files/0001-Define-in_-structs-for-non-glibc-system-libs.patch +++ b/meta-initramfs/recipes-devtools/klibc/files/0001-Define-in_-structs-for-non-glibc-system-libs.patch | |||
@@ -16,8 +16,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
16 | usr/include/netinet/in.h | 36 ++++++++++++++++++++++++++++++++++++ | 16 | usr/include/netinet/in.h | 36 ++++++++++++++++++++++++++++++++++++ |
17 | 2 files changed, 47 insertions(+) | 17 | 2 files changed, 47 insertions(+) |
18 | 18 | ||
19 | diff --git a/usr/include/net/if.h b/usr/include/net/if.h | ||
20 | index 116a176..6246b12 100644 | ||
21 | --- a/usr/include/net/if.h | 19 | --- a/usr/include/net/if.h |
22 | +++ b/usr/include/net/if.h | 20 | +++ b/usr/include/net/if.h |
23 | @@ -1,6 +1,17 @@ | 21 | @@ -1,6 +1,17 @@ |
@@ -38,8 +36,6 @@ index 116a176..6246b12 100644 | |||
38 | #include <sys/socket.h> | 36 | #include <sys/socket.h> |
39 | #include <sys/types.h> | 37 | #include <sys/types.h> |
40 | #include <linux/if.h> | 38 | #include <linux/if.h> |
41 | diff --git a/usr/include/netinet/in.h b/usr/include/netinet/in.h | ||
42 | index 2952bb2..0c95bc9 100644 | ||
43 | --- a/usr/include/netinet/in.h | 39 | --- a/usr/include/netinet/in.h |
44 | +++ b/usr/include/netinet/in.h | 40 | +++ b/usr/include/netinet/in.h |
45 | @@ -5,6 +5,42 @@ | 41 | @@ -5,6 +5,42 @@ |
@@ -82,6 +78,6 @@ index 2952bb2..0c95bc9 100644 | |||
82 | +#define __UAPI_DEF_IF_IFREQ 1 | 78 | +#define __UAPI_DEF_IF_IFREQ 1 |
83 | +#endif | 79 | +#endif |
84 | + | 80 | + |
81 | #include <sys/types.h> | ||
85 | #include <klibc/extern.h> | 82 | #include <klibc/extern.h> |
86 | #include <stdint.h> | 83 | #include <stdint.h> |
87 | #include <endian.h> /* Must be included *before* <linux/in.h> */ | ||