[Pdbg] [PATCH] Fix building with uclibc
Joel Stanley
joel at jms.id.au
Mon Jul 13 14:58:25 AEST 2020
libpdbg/target.h:66:2: error: unknown type name ‘ssize_t’
66 | ssize_t len;
| ^~~~~~~
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
libpdbg/target.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libpdbg/target.h b/libpdbg/target.h
index 522a4dc..a12cce8 100644
--- a/libpdbg/target.h
+++ b/libpdbg/target.h
@@ -17,6 +17,7 @@
#define __TARGET_H
#include <stdint.h>
+#include <unistd.h>
#include <ccan/list/list.h>
#include <ccan/str/str.h>
#include <ccan/container_of/container_of.h>
--
2.17.1
More information about the Pdbg
mailing list