diff options
Diffstat (limited to 'testing/py-rpio')
-rw-r--r-- | testing/py-rpio/missing-typesh.patch | 11 |
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 |