mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 14:12:26 +00:00
98bc4decde
Signed-off-by: Alexey Neyman <stilor@att.net>
21 lines
582 B
Diff
21 lines
582 B
Diff
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>
|