mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
25 lines
709 B
Diff
25 lines
709 B
Diff
|
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")
|