summaryrefslogtreecommitdiff
path: root/freeonebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'freeonebook.c')
-rw-r--r--freeonebook.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/freeonebook.c b/freeonebook.c
index acafb8f..e9be2e2 100644
--- a/freeonebook.c
+++ b/freeonebook.c
@@ -1,3 +1,4 @@
+#include <stdint.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
@@ -26,7 +27,7 @@ void enable_displays(void)
void gpio_init(void)
{
struct {
- uint_8 port;
+ uint8_t port;
enum { in, out } direction;
} ports[] = {
{ 100, in }, /* 4a58 */