Hotplug: Make use of HAVE_SYS_TYPES_H define
authorToby Gray <toby.gray@realvnc.com>
Fri, 24 May 2013 08:36:20 +0000 (10:36 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 28 May 2013 10:29:03 +0000 (12:29 +0200)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/hotplug.c
libusb/version_nano.h

index a58608f..77ccb31 100644 (file)
@@ -25,7 +25,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
 #include <assert.h>
 
 #include "libusbi.h"
index 994efe8..246e85b 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10717
+#define LIBUSB_NANO 10718