From 8a1ee2ab2743819692b160b403be5553b775997a Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 28 Oct 2014 12:48:32 +0100 Subject: testing/py-rpio: add missing patch --- testing/py-rpio/missing-typesh.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/py-rpio/missing-typesh.patch diff --git a/testing/py-rpio/missing-typesh.patch b/testing/py-rpio/missing-typesh.patch new file mode 100644 index 0000000000..5ad7241f34 --- /dev/null +++ b/testing/py-rpio/missing-typesh.patch @@ -0,0 +1,11 @@ +--- a/source/c_gpio/c_gpio.h.orig ++++ b/source/c_gpio/c_gpio.h +@@ -30,6 +30,8 @@ + int gpio_function(int gpio); + void set_pullupdn(int gpio, int pud); + ++#include ++ + #define SETUP_OK 0 + #define SETUP_DEVMEM_FAIL 1 + #define SETUP_MALLOC_FAIL 2 -- cgit v1.2.3