diff options
Diffstat (limited to 'sw/programmer/linux/src/serial.h')
-rw-r--r-- | sw/programmer/linux/src/serial.h | 4 |
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); |