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/usb.h')
-rw-r--r--winsup/w32api/include/ddk/usb.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/winsup/w32api/include/ddk/usb.h b/winsup/w32api/include/ddk/usb.h
index c1705d47c..7e0145cb2 100644
--- a/winsup/w32api/include/ddk/usb.h
+++ b/winsup/w32api/include/ddk/usb.h
@@ -27,16 +27,16 @@
#pragma GCC system_header
#endif
+#ifdef __USBDI_H
+#error usbdi.h cannot be included with usb.h
+#else
+
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push,4)
-#ifdef __USBDI_H
-#error usbdi.h cannot be included with usb.h
-#endif
-
#include "ntddk.h"
#include "usb100.h"
@@ -470,4 +470,6 @@ typedef struct _OS_STRING {
}
#endif
+#endif /* defined __USBDI_H */
+
#endif /* __USB_H */