aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-rpio/missing-typesh.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-02 03:36:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-02 07:04:07 -0300
commit708ccf5482f740283f0c509a8fb043b33d40a893 (patch)
tree167eeaf2ccf01907d34ba57c03665ffd7e32a5f9 /testing/py3-rpio/missing-typesh.patch
parent4ab586e4ed30743746557b421294ea05dd6bb326 (diff)
downloadaports-708ccf5482f740283f0c509a8fb043b33d40a893.tar.bz2
aports-708ccf5482f740283f0c509a8fb043b33d40a893.tar.xz
testing/py3-rpio: rename from py-rpio
Diffstat (limited to 'testing/py3-rpio/missing-typesh.patch')
-rw-r--r--testing/py3-rpio/missing-typesh.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/py3-rpio/missing-typesh.patch b/testing/py3-rpio/missing-typesh.patch
new file mode 100644
index 0000000000..5ad7241f34
--- /dev/null
+++ b/testing/py3-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