summaryrefslogtreecommitdiff
path: root/packages/glibc/2.12.1/0017-check_native-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/2.12.1/0017-check_native-headers.patch')
-rw-r--r--packages/glibc/2.12.1/0017-check_native-headers.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/glibc/2.12.1/0017-check_native-headers.patch b/packages/glibc/2.12.1/0017-check_native-headers.patch
new file mode 100644
index 0000000..2b1b619
--- /dev/null
+++ b/packages/glibc/2.12.1/0017-check_native-headers.patch
@@ -0,0 +1,20 @@
+many ports hit this warning:
+../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
+../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
+
+snipped from suse
+
+---
+ sysdeps/unix/sysv/linux/check_native.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/sysdeps/unix/sysv/linux/check_native.c
++++ b/sysdeps/unix/sysv/linux/check_native.c
+@@ -23,6 +23,7 @@
+ #include <stddef.h>
+ #include <stdint.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <time.h>
+ #include <unistd.h>
+ #include <net/if.h>