Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/ddk/usbdi.h')
-rw-r--r--winsup/w32api/include/ddk/usbdi.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/winsup/w32api/include/ddk/usbdi.h b/winsup/w32api/include/ddk/usbdi.h
index ffe08445f..7caca07a7 100644
--- a/winsup/w32api/include/ddk/usbdi.h
+++ b/winsup/w32api/include/ddk/usbdi.h
@@ -27,16 +27,16 @@
#pragma GCC system_header
#endif
+#ifdef __USB_H
+#error usb.h cannot be included with usbdi.h
+#else
+
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push,4)
-#ifdef __USB_H
-#error usb.h cannot be included with usbdi.h
-#endif
-
#include "ntddk.h"
#include "usbioctl.h"
@@ -407,4 +407,6 @@ typedef struct _URB {
}
#endif
+#endif /* defined __USB_H */
+
#endif /* __USBDI_H */