summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRipleyTom <RipleyTom@users.noreply.github.com>2019-05-02 18:19:42 +0200
committerNathan Hjelm <hjelmn@me.com>2019-07-07 21:42:12 -0600
commit636b188da68f1ef79268990cec6d9f310ec94909 (patch)
treeaf158376245e2e45d3df4e3aabca74104961fc5e
parent77037c4dd64cd4e28ed5ab1bc0b893c81fb3e20a (diff)
downloadlibusb-636b188da68f1ef79268990cec6d9f310ec94909.tar.gz
mingw fix
Closes #566 Signed-off-by: Nathan Hjelm <hjelmn@me.com>
-rw-r--r--libusb/io.c1
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/libusb/io.c b/libusb/io.c
index ef2b7c4..8ac9793 100644
--- a/libusb/io.c
+++ b/libusb/io.c
@@ -31,6 +31,7 @@
#include <sys/time.h>
#endif
#ifdef USBI_TIMERFD_AVAILABLE
+#include <unistd.h>
#include <sys/timerfd.h>
#endif
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 64560f7..92452c7 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11369
+#define LIBUSB_NANO 11370