From b92b62a8fb7dfbe51d8cbc635b9bced74fcd9a35 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Wed, 20 Aug 2008 21:42:51 +0100 Subject: [PATCH] Include cstring required for GCC 4.3 GCC 4.3 has tightened up header dependencies so that `strcmp' is no longer declared if is included (which it was in prior versions). This causes the changes in 5e512e65704728b52e28448b4c18c70815a5b4b0 to fail to build with 4.3. This patch includes in the files that are failing. --- PExpr.cc | 1 + elab_pexpr.cc | 1 + eval_tree.cc | 1 + 3 files changed, 3 insertions(+) diff --git a/PExpr.cc b/PExpr.cc index 880dcc8c2..751d2be5f 100644 --- a/PExpr.cc +++ b/PExpr.cc @@ -20,6 +20,7 @@ # include "config.h" # include +# include # include "PExpr.h" # include "Module.h" diff --git a/elab_pexpr.cc b/elab_pexpr.cc index 59f80dd80..e4cdbe087 100644 --- a/elab_pexpr.cc +++ b/elab_pexpr.cc @@ -25,6 +25,7 @@ # include "netmisc.h" # include +# include # include # include "ivl_assert.h" diff --git a/eval_tree.cc b/eval_tree.cc index e50005fdf..7559c36ad 100644 --- a/eval_tree.cc +++ b/eval_tree.cc @@ -22,6 +22,7 @@ # include # include +# include # include # include "netlist.h"