summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/ddk/winddi.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/ddk/winddi.h')
-rw-r--r--winsup/w32api/include/ddk/winddi.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/winsup/w32api/include/ddk/winddi.h b/winsup/w32api/include/ddk/winddi.h
index ad94f77cb..5659e6f89 100644
--- a/winsup/w32api/include/ddk/winddi.h
+++ b/winsup/w32api/include/ddk/winddi.h
@@ -23,14 +23,14 @@
#ifndef __WINDDI_H
#define __WINDDI_H
-#ifdef __VIDEO_H
-#error video.h cannot be included with winddi.h
-#endif
-
#if __GNUC__ >=3
#pragma GCC system_header
#endif
+#ifdef __VIDEO_H
+#error video.h cannot be included with winddi.h
+#else
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -4141,4 +4141,6 @@ DrvGetDirectDrawInfo(
}
#endif
+#endif /* defined __VIDEO_H */
+
#endif /* __WINDDI_H */