summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/excpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/excpt.h')
-rw-r--r--winsup/w32api/include/excpt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/w32api/include/excpt.h b/winsup/w32api/include/excpt.h
index 39621a8f6..774612458 100644
--- a/winsup/w32api/include/excpt.h
+++ b/winsup/w32api/include/excpt.h
@@ -1,5 +1,8 @@
#ifndef _EXCPT_H
#define _EXCPT_H
+#if __GNUC__ >=3
+#pragma GCC system_header
+#endif
/* FIXME: This will make some code compile. The programs will most
likely crash when an exception is raised, but at least they will