summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-30 01:40:41 +0000
committerPete Batard <pbatard@gmail.com>2010-01-30 01:40:41 +0000
commitbf4f54160c313c6052c470d1516acce84e55f98a (patch)
tree19f82c669717a6af0c00ddbf1a678f748f633399 /examples
parentafe70cedf774436981defb900c5eb78d13ec13d0 (diff)
downloadlibusb-bf4f54160c313c6052c470d1516acce84e55f98a.tar.gz
r124: removes #error on previous commit and fixes thing ourselves
Diffstat (limited to 'examples')
-rw-r--r--examples/xusb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/xusb.c b/examples/xusb.c
index 78dcbd1..2734032 100644
--- a/examples/xusb.c
+++ b/examples/xusb.c
@@ -32,6 +32,8 @@
#include <string.h>
#include <stdarg.h>
+#include <libusb/libusb.h>
+
#ifdef OS_WINDOWS
#include <windows.h>
#define msleep(msecs) Sleep(msecs)
@@ -40,8 +42,6 @@
#define msleep(msecs) usleep(1000*msecs)
#endif
-#include <libusb/libusb.h>
-
#if !defined(_MSC_VER)
#define sscanf_s sscanf
#endif