aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKresten Krab Thorup <krab@gcc.gnu.org>1993-05-09 13:08:15 +0000
committerKresten Krab Thorup <krab@gcc.gnu.org>1993-05-09 13:08:15 +0000
commit8c357b2d9626dec65ef4ded8f380d727db5c5ee9 (patch)
tree1048a8e3a1059706789f7252eef0aabd38abda16 /gcc
parent97ecb2514713ba4d71474c0a536b4eb787763cc6 (diff)
downloadgcc-8c357b2d9626dec65ef4ded8f380d727db5c5ee9.zip
gcc-8c357b2d9626dec65ef4ded8f380d727db5c5ee9.tar.gz
gcc-8c357b2d9626dec65ef4ded8f380d727db5c5ee9.tar.bz2
Conditionally include gstddef or stddef
From-SVN: r4396
Diffstat (limited to 'gcc')
-rw-r--r--gcc/objc/hash.h4
-rw-r--r--gcc/objc/objc.h4
-rw-r--r--gcc/objc/sarray.h4
3 files changed, 12 insertions, 0 deletions
diff --git a/gcc/objc/hash.h b/gcc/objc/hash.h
index ae42e85..e054e7d 100644
--- a/gcc/objc/hash.h
+++ b/gcc/objc/hash.h
@@ -27,7 +27,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef __hash_INCLUDE_GNU
#define __hash_INCLUDE_GNU
+#ifdef IN_GCC
#include "gstddef.h"
+#else
+#include "stddef.h"
+#endif
/*
* This data structure is used to hold items
diff --git a/gcc/objc/objc.h b/gcc/objc/objc.h
index fef1025..7e18aca 100644
--- a/gcc/objc/objc.h
+++ b/gcc/objc/objc.h
@@ -30,7 +30,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
extern "C" {
#endif
+#ifdef IN_GCC
#include "gstddef.h"
+#else
+#include "stddef.h"
+#endif
/*
** Definition of the boolean type.
diff --git a/gcc/objc/sarray.h b/gcc/objc/sarray.h
index 9e2c27b..d43c6ee 100644
--- a/gcc/objc/sarray.h
+++ b/gcc/objc/sarray.h
@@ -39,7 +39,11 @@ extern const char* __objc_sparse2_id;
extern const char* __objc_sparse3_id;
#endif
+#ifdef IN_GCC
#include "gstddef.h"
+#else
+#include "stddef.h"
+#endif
extern int nbuckets; /* for stats */
extern int nindices;