2efeec8eaf
This includes a patch to fix building with uclibc, where pdbg was missing a header for ssize_t. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
806 B
Diff
33 lines
806 B
Diff
From 7ad1193f705563dc984b738b9af3c7461caeef37 Mon Sep 17 00:00:00 2001
|
||
From: Joel Stanley <joel@jms.id.au>
|
||
Date: Mon, 13 Jul 2020 14:57:31 +1000
|
||
Subject: [PATCH] Fix building with uclibc
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
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 --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
|
||
|