summaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-11-26 05:35:53 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-11-26 05:35:53 +0000
commit6823f1fa9f4dedeb00138342b2d19a022ad94fd1 (patch)
tree035d9c24d49882b5b065e19e05c7001318915620 /gcc/genattrtab.c
parentb4bbf9ddcc57b60f460b7876859811451a5db7e7 (diff)
downloadgcc-6823f1fa9f4dedeb00138342b2d19a022ad94fd1.tar.gz
(obstack.h): Include after sys/time.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2804 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r--gcc/genattrtab.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index 4426df8ae59..4a3e70afe49 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -97,7 +97,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "gvarargs.h"
#include "hconfig.h"
#include "rtl.h"
-#include "obstack.h"
#include "insn-config.h" /* For REGISTER_CONSTRAINTS */
#include <stdio.h>
@@ -108,6 +107,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#endif
+/* We must include obstack.h after <sys/time.h>, to avoid lossage with
+ /usr/include/sys/stdtypes.h on Sun OS 4.x. */
+#include "obstack.h"
+
static struct obstack obstack, obstack1, obstack2;
struct obstack *rtl_obstack = &obstack;
struct obstack *hash_obstack = &obstack1;