diff --git a/graph/DelayNormal1.cc b/graph/DelayNormal1.cc
index 1042bbdb..344a3c1f 100644
--- a/graph/DelayNormal1.cc
+++ b/graph/DelayNormal1.cc
@@ -14,9 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
-// SSTA compilation.
-#if (SSTA == 1)
-
#include "Delay.hh"
#include // sqrt
@@ -30,6 +27,9 @@
// temporary hack
#include "Sta.hh"
+// SSTA compilation.
+#if (SSTA == 1)
+
namespace sta {
inline float
diff --git a/graph/DelayNormal2.cc b/graph/DelayNormal2.cc
index 9ab1432a..8b6f02ba 100644
--- a/graph/DelayNormal2.cc
+++ b/graph/DelayNormal2.cc
@@ -14,9 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
-// SSTA compilation.
-#if (SSTA == 2)
-
#include "Delay.hh"
#include // sqrt
@@ -28,6 +25,9 @@
#include "Units.hh"
#include "StaState.hh"
+// SSTA compilation.
+#if (SSTA == 2)
+
namespace sta {
inline float