summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--bcm4751_test.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..eb48aed
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+all: gps-test-crespo
+
+gps-test-crespo: bcm4751_test.c
+ $(CC) -o $@ $^
+clean:
+ rm -f gps-test-crespo
diff --git a/bcm4751_test.c b/bcm4751_test.c
index bac8077..55fba55 100644
--- a/bcm4751_test.c
+++ b/bcm4751_test.c
@@ -4,7 +4,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <unistd.h>
-#include <termios.h>
+#include <termio.h>
#include <errno.h>
#include <sys/types.h>