summaryrefslogtreecommitdiff
path: root/libusb/os/windows_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/os/windows_compat.c')
-rw-r--r--libusb/os/windows_compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/windows_compat.c b/libusb/os/windows_compat.c
index 9b74d35..bd5a948 100644
--- a/libusb/os/windows_compat.c
+++ b/libusb/os/windows_compat.c
@@ -68,7 +68,7 @@
#include <stdint.h>
#include <io.h>
-#include "windows_compat.h"
+#include "libusbi.h"
// Uncomment to debug the polling layer
//#define DEBUG_WINDOWS_COMPAT
@@ -88,7 +88,7 @@
#pragma warning(disable:28719)
#endif
-#if defined(__CYGWIN__ )
+#if defined(__CYGWIN__)
// cygwin produces a warning unless these prototypes are defined
extern int _close(int fd);
extern int _snprintf(char *buffer, size_t count, const char *format, ...);