summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-02-09 04:38:41 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-02-09 04:38:41 +0300
commit4f0e286870e30f170461afc772f3cfd372f261b2 (patch)
tree8ca7ca6e072a9bc506cdd4efe97b9f44a3b0ce16
parent030ca19eebff382d8767b5d5520e7e7043a22011 (diff)
include stdint.h for uint16_t on glibc
-rw-r--r--intelgpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/intelgpio.c b/intelgpio.c
index 0f4011d..573f6b7 100644
--- a/intelgpio.c
+++ b/intelgpio.c
@@ -6,6 +6,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
+#include <stdint.h>
#define GPIO_BASE 0x48
#define GP_LVL 0x0c