aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/pahole/patches/fix_limits.patch
blob: 5026509dd4a6a5019117fd9b89fd5e447b6b6c1e (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 dwarves.c dwarves.c
index 8cb359f..98b8b6b 100644
--- dwarves.c
+++ dwarves.c
@@ -22,6 +22,7 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <sys/utsname.h>
+#include <limits.h>
 
 #include "config.h"
 #include "list.h"
diff --git pahole.c pahole.c
index dac7a49..15c0c29 100644
--- pahole.c
+++ pahole.c
@@ -10,6 +10,7 @@
 #include <assert.h>
 #include <stdio.h>
 #include <dwarf.h>
+#include <limits.h>
 #include <inttypes.h>
 #include <search.h>
 #include <stdarg.h>