From feba5d94704974f2a320e68208924405b9a47ce3 Mon Sep 17 00:00:00 2001 From: Jared Casper Date: Tue, 30 Sep 2008 19:49:55 -0700 Subject: [PATCH] Compatibility with gcc-4.3 The addition of UINT_MAX in netlist.cc requires #include when compiling with gcc-4.3.2. I also noticed that commit 8704e3e used c style includes in c++ sources contrary to the style used in the rest of the c++ code and fixed those. --- elab_expr.cc | 2 +- expr_synth.cc | 2 +- netlist.cc | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/elab_expr.cc b/elab_expr.cc index 2c786ec99..1c93c7ce8 100644 --- a/elab_expr.cc +++ b/elab_expr.cc @@ -21,7 +21,7 @@ # include # include # include -# include +# include # include "compiler.h" # include "pform.h" diff --git a/expr_synth.cc b/expr_synth.cc index 4e506bacd..2845877c9 100644 --- a/expr_synth.cc +++ b/expr_synth.cc @@ -20,7 +20,7 @@ # include "config.h" # include "compiler.h" -# include +# include # include # include "netlist.h" diff --git a/netlist.cc b/netlist.cc index 204121e7d..88bfeb384 100644 --- a/netlist.cc +++ b/netlist.cc @@ -23,6 +23,7 @@ # include # include +# include # include "compiler.h" # include "netlist.h" # include "netmisc.h"