summaryrefslogtreecommitdiff
path: root/gl/stdint.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/stdint.in.h')
-rw-r--r--gl/stdint.in.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gl/stdint.in.h b/gl/stdint.in.h
index 3fb87d5143..5da5f17886 100644
--- a/gl/stdint.in.h
+++ b/gl/stdint.in.h
@@ -23,6 +23,10 @@
#ifndef _GL_STDINT_H
+#if __GNUC__ >= 3
+@PRAGMA_SYSTEM_HEADER@
+#endif
+
/* When including a system file that in turn includes <inttypes.h>,
use the system <inttypes.h>, not our substitute. This avoids
problems with (for example) VMS, whose <sys/bitypes.h> includes
@@ -49,9 +53,6 @@
in <inttypes.h> would reinclude us, skipping our contents because
_GL_STDINT_H is defined.
The include_next requires a split double-inclusion guard. */
-# if __GNUC__ >= 3
-@PRAGMA_SYSTEM_HEADER@
-# endif
# @INCLUDE_NEXT@ @NEXT_STDINT_H@
#endif