summaryrefslogtreecommitdiff
path: root/dev-util/ltrace/files/ltrace-0.7.91-pid_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ltrace/files/ltrace-0.7.91-pid_t.patch')
-rw-r--r--dev-util/ltrace/files/ltrace-0.7.91-pid_t.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-util/ltrace/files/ltrace-0.7.91-pid_t.patch b/dev-util/ltrace/files/ltrace-0.7.91-pid_t.patch
new file mode 100644
index 000000000000..06075006b2e1
--- /dev/null
+++ b/dev-util/ltrace/files/ltrace-0.7.91-pid_t.patch
@@ -0,0 +1,10 @@
+--- a/proc.h
++++ b/proc.h
+@@ -27,6 +27,7 @@
+
+ #include <sys/time.h>
+ #include <stdint.h>
++#include <unistd.h> /* pid_t */
+
+ #if defined(HAVE_LIBDW)
+ # include <elfutils/libdwfl.h>