void-packages/srcpkgs/pahole/patches/fix_limits.patch

25 lines
490 B
Diff

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>