aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-rpio/missing-typesh.patch
blob: 5ad7241f347760e4bc0fc26f3b00b1113d9e3e20 (plain)
1
2
3
4
5
6
7
8
9
10
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