]> sigrok.org Git - libsigrok.git/commitdiff
MinGW: Build fixes.
authorUwe Hermann <redacted>
Wed, 2 Feb 2011 12:13:13 +0000 (13:13 +0100)
committerUwe Hermann <redacted>
Wed, 2 Feb 2011 12:13:26 +0000 (13:13 +0100)
hardware/common/serial.c
hardware/openbench-logic-sniffer/ols.c

index f6efe3e26465e30d42411adcd08e7d922479701f..5205c188e6b785beeac473ff3e6db9dc0b38b0cc 100644 (file)
@@ -23,7 +23,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #ifdef _WIN32
-#include <conio.h>
+#include <windows.h>
 #else
 #include <glob.h>
 #include <termios.h>
index 9ebd6b094c18d96088155ebf08fe021f801d503d..dd1fbdb2d1c526a61489ab8e470007e4d1fc0627 100644 (file)
@@ -24,7 +24,9 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
-#ifndef _WIN32
+#ifdef _WIN32
+#include <windows.h>
+#else
 #include <termios.h>
 #endif
 #include <string.h>