summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Reimer <manuel.reimer@gmx.de>2020-03-26 14:29:31 +0100
committerManuel Reimer <manuel.reimer@gmx.de>2020-03-26 14:29:31 +0100
commit6015f5c14f80ca4dd54ef96a6d5825caad9550bb (patch)
tree93c1e8aec8f63412ac6a8c6380cb4a2f812e4d8d
parent925f41b2dc0c400a48545ea7040c84d57b11436a (diff)
downloadgraphlcd-base-6015f5c14f80ca4dd54ef96a6d5825caad9550bb.tar.gz
graphlcd-base-6015f5c14f80ca4dd54ef96a6d5825caad9550bb.tar.bz2
Fix building on ARM
-rw-r--r--glcddrivers/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glcddrivers/port.c b/glcddrivers/port.c
index bf5df86..70d175a 100644
--- a/glcddrivers/port.c
+++ b/glcddrivers/port.c
@@ -17,7 +17,6 @@
#include <syslog.h>
#include <unistd.h>
#include <pthread.h>
-#include <sys/io.h>
#include <sys/ioctl.h>
#include <linux/ppdev.h>
#include <linux/parport.h>
@@ -28,6 +27,7 @@
#if defined(__linux__) && (defined(__i386__) || defined(__x86_64__))
#define __HAS_DIRECTIO__ 1
+ #include <sys/io.h>
#endif
namespace GLCD