kumquat-buildroot/package/pdbg/0001-Fix-building-with-uclibc.patch
Joel Stanley 2efeec8eaf package/pdbg: bump version to v3.0
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>
2020-07-13 23:24:19 +02:00

33 lines
806 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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