aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-rpio
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-28 12:48:32 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-28 12:48:32 +0100
commit8a1ee2ab2743819692b160b403be5553b775997a (patch)
treed1364b396b54945158b60e386115baed0eba0329 /testing/py-rpio
parent5bfb897d0ea12411a102e43acbe5e4306c4b4a57 (diff)
downloadaports-8a1ee2ab2743819692b160b403be5553b775997a.tar.bz2
aports-8a1ee2ab2743819692b160b403be5553b775997a.tar.xz
testing/py-rpio: add missing patch
Diffstat (limited to 'testing/py-rpio')
-rw-r--r--testing/py-rpio/missing-typesh.patch11
1 files changed, 11 insertions, 0 deletions
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 <sys/types.h>
++
+ #define SETUP_OK 0
+ #define SETUP_DEVMEM_FAIL 1
+ #define SETUP_MALLOC_FAIL 2