summary refs log tree commit diff
path: root/pkgs/tools/networking/netsniff-ng/glibc-2.26.patch
blob: 2ee7b478e9b2ab1aba342b49808d89626f408008 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/built_in.h b/built_in.h
index da04dbd..7acc183 100644
--- a/built_in.h
+++ b/built_in.h
@@ -10,6 +10,7 @@
 #include <endian.h>
 #include <byteswap.h>
 #include <asm/byteorder.h>
+#include <string.h>
 
 typedef uint64_t	u64;
 typedef uint32_t	u32;
diff --git a/staging/tools.c b/staging/tools.c
index 9d2d1be..909b059 100644
--- a/staging/tools.c
+++ b/staging/tools.c
@@ -55,6 +55,7 @@
 ////////////////////////////////////////////////////////////////////////////////////////////
 
 #include "mz.h"
+#include <stdint.h>
 
 #define CMP_INT(a, b) ((a) < (b) ? -1 : (a) > (b))
 #define IPV6_MAX_RANGE_LEN strlen("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/128")