Include cstring required for GCC 4.3
GCC 4.3 has tightened up header dependencies so that
`strcmp' is no longer declared if <cstdlib> is included
(which it was in prior versions). This causes the changes
in 5e512e6570 to fail to
build with 4.3.
This patch includes <cstring> in the files that are failing.
This commit is contained in:
parent
7eb34013dd
commit
b92b62a8fb
1
PExpr.cc
1
PExpr.cc
|
|
@ -20,6 +20,7 @@
|
|||
# include "config.h"
|
||||
|
||||
# include <iostream>
|
||||
# include <cstring>
|
||||
|
||||
# include "PExpr.h"
|
||||
# include "Module.h"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
# include "netmisc.h"
|
||||
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
# include <iostream>
|
||||
# include "ivl_assert.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
# include <iostream>
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
# include <math.h>
|
||||
|
||||
# include "netlist.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue