aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Bradley <wmb@firmworks.com>2019-08-13 12:22:25 -1000
committerMitch Bradley <wmb@firmworks.com>2019-08-13 12:22:25 -1000
commit0768247926460fa13644275ad135ce8e7246a9da (patch)
treef69604aaee3957e3ffdb587b4f04847fecda6f00
parent8b31c6c80590e69d1218de00df4a50cef0e7872b (diff)
downloadcforth-0768247926460fa13644275ad135ce8e7246a9da.tar.gz
Squashed a compiler warning from extend-posix.c
-rw-r--r--src/app/host-serial/extend-posix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/host-serial/extend-posix.c b/src/app/host-serial/extend-posix.c
index b6e9a82..758e861 100644
--- a/src/app/host-serial/extend-posix.c
+++ b/src/app/host-serial/extend-posix.c
@@ -4,6 +4,8 @@
#include <stdlib.h>
#include <poll.h>
#include <fcntl.h>
+#define _GNU_SOURCE
+#define __USE_GNU
#include <string.h>
#include <termios.h>
#include <sys/ioctl.h>