summaryrefslogtreecommitdiffstats
path: root/sw/programmer/linux/src/serial.h
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-10-19 17:56:29 +0200
committerNao Pross <naopross@thearcway.org>2017-10-19 17:56:29 +0200
commit57640a10a66a97a07b954a25e976ff0d3a5d28b0 (patch)
tree0d0bb15f54b781c03a25adfbf39979dbc2d657a6 /sw/programmer/linux/src/serial.h
parentFix for PIO driver and its test and deletes build files (diff)
downloadz80uPC-57640a10a66a97a07b954a25e976ff0d3a5d28b0.tar.gz
z80uPC-57640a10a66a97a07b954a25e976ff0d3a5d28b0.zip
Got a real rom programmer, this code is still broken but I don't care
Diffstat (limited to 'sw/programmer/linux/src/serial.h')
-rw-r--r--sw/programmer/linux/src/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/programmer/linux/src/serial.h b/sw/programmer/linux/src/serial.h
index fe21524..dd70756 100644
--- a/sw/programmer/linux/src/serial.h
+++ b/sw/programmer/linux/src/serial.h
@@ -7,6 +7,10 @@
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
+#include <sys/ioctl.h>
+#include <termio.h>
+#include <err.h>
+#include <linux/serial.h>
int serial_open(const char *devpath, unsigned long baudrate);