summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/limitx.h3
-rw-r--r--gcc/limity.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/limitx.h b/gcc/limitx.h
index d261e94a7a9..1231bfa798c 100644
--- a/gcc/limitx.h
+++ b/gcc/limitx.h
@@ -1,5 +1,8 @@
/* This administrivia gets added to the beginning of limits.h
if the system has its own version of limits.h. */
+#ifndef _LIMITS_H_ /* Terminated in limity.h. */
+#define _LIMITS_H_
+
#include_next <limits.h>
diff --git a/gcc/limity.h b/gcc/limity.h
new file mode 100644
index 00000000000..59657134b3b
--- /dev/null
+++ b/gcc/limity.h
@@ -0,0 +1,4 @@
+/* This administrivia gets added to the end of limits.h
+ if the system has its own version of limits.h. */
+
+#endif /* not _LIMITS_H_ */