diff mbox series

Fix building with uclibc

Message ID 20200713045825.3798923-1-joel@jms.id.au
State Accepted
Headers show
Series Fix building with uclibc | expand

Commit Message

Joel Stanley July 13, 2020, 4:58 a.m. UTC
libpdbg/target.h:66:2: error: unknown type name ‘ssize_t’
   66 |  ssize_t len;
      |  ^~~~~~~

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 libpdbg/target.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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>