Compatibility with gcc-4.3

The addition of UINT_MAX in netlist.cc requires #include <climits> 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.
This commit is contained in:
Jared Casper 2008-09-30 19:49:55 -07:00 committed by Stephen Williams
parent 6b62cce14a
commit feba5d9470
3 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,7 @@
# include <typeinfo>
# include <cstdlib>
# include <cstring>
# include <limits.h>
# include <climits>
# include "compiler.h"
# include "pform.h"

View File

@ -20,7 +20,7 @@
# include "config.h"
# include "compiler.h"
# include <stdlib.h>
# include <cstdlib>
# include <iostream>
# include "netlist.h"

View File

@ -23,6 +23,7 @@
# include <typeinfo>
# include <cstdlib>
# include <climits>
# include "compiler.h"
# include "netlist.h"
# include "netmisc.h"