Index: /trunk/BNC/src/PPP/pppModel.cpp
===================================================================
--- /trunk/BNC/src/PPP/pppModel.cpp	(revision 5804)
+++ /trunk/BNC/src/PPP/pppModel.cpp	(revision 5805)
@@ -5,4 +5,5 @@
 #include "bncutils.h"
 
+using namespace BNC;
 using namespace std;
 
@@ -234,5 +235,5 @@
     ColumnVector sz = -rSat / rSat.norm_Frobenius();
 
-    ColumnVector xSun = Sun(etime.mjddec());
+    ColumnVector xSun = t_astro::Sun(etime.mjddec());
     xSun /= xSun.norm_Frobenius();
 
Index: /trunk/BNC/src/PPP/pppModel.h
===================================================================
--- /trunk/BNC/src/PPP/pppModel.h	(revision 5804)
+++ /trunk/BNC/src/PPP/pppModel.h	(revision 5805)
@@ -4,4 +4,7 @@
 #include <newmat.h>
 #include "bnctime.h"
+#include "t_prn.h"
+
+namespace BNC {
 
 class t_astro {
@@ -50,3 +53,5 @@
 };
 
+}
+
 #endif
Index: /trunk/BNC/src/bncantex.cpp
===================================================================
--- /trunk/BNC/src/bncantex.cpp	(revision 5804)
+++ /trunk/BNC/src/bncantex.cpp	(revision 5805)
@@ -45,4 +45,5 @@
 #include "PPP/pppModel.h"
 
+using namespace BNC;
 using namespace std;
 
Index: /trunk/BNC/src/bncmodel.cpp
===================================================================
--- /trunk/BNC/src/bncmodel.cpp	(revision 5804)
+++ /trunk/BNC/src/bncmodel.cpp	(revision 5805)
@@ -54,4 +54,5 @@
 #include "pppopt.h"
 
+using namespace BNC;
 using namespace std;
 
Index: /trunk/BNC/src/bncmodel.h
===================================================================
--- /trunk/BNC/src/bncmodel.h	(revision 5804)
+++ /trunk/BNC/src/bncmodel.h	(revision 5805)
@@ -38,5 +38,7 @@
 class t_pppOpt;
 class bncPPPclient;
+namespace BNC {
 class t_tides;
+}
 
 class bncParam {
@@ -165,5 +167,5 @@
   QStringList           _outlierGlo;
   bncAntex*             _antex;
-  t_tides*              _tides;
+  BNC::t_tides*         _tides;
 };
 
Index: /trunk/BNC/src/combination/bnccomb.cpp
===================================================================
--- /trunk/BNC/src/combination/bnccomb.cpp	(revision 5804)
+++ /trunk/BNC/src/combination/bnccomb.cpp	(revision 5805)
@@ -28,5 +28,4 @@
 #include "bncsp3.h"
 #include "bncantex.h"
-#include "bnctides.h"
 #include "t_prn.h"
 
