Index: trunk/BNC/src/GPSDecoder.cpp
===================================================================
--- trunk/BNC/src/GPSDecoder.cpp	(revision 5883)
+++ trunk/BNC/src/GPSDecoder.cpp	(revision 5884)
@@ -44,4 +44,5 @@
 #include "GPSDecoder.h"
 #include "bncsettings.h"
+#include "bncrinex.h"
 
 extern "C" {
@@ -55,4 +56,10 @@
 GPSDecoder::GPSDecoder() {
   _rnx = 0;
+}
+
+// Destructor
+//////////////////////////////////////////////////////////////////////////////
+GPSDecoder::~GPSDecoder() {
+  delete _rnx;
 }
 
Index: trunk/BNC/src/GPSDecoder.h
===================================================================
--- trunk/BNC/src/GPSDecoder.h	(revision 5883)
+++ trunk/BNC/src/GPSDecoder.h	(revision 5884)
@@ -29,13 +29,15 @@
 #include <vector>
 #include <string>
-#include <QList>
-#include <QStringList>
+
+#include <QtCore>
 
 #include "bncconst.h"
-#include "bncrinex.h"
+#include "bnctime.h"
 
 extern "C" {
 #include "rtcm3torinex.h"
 }
+
+class bncRinex;
 
 class t_obs {
@@ -102,6 +104,5 @@
  public:
   GPSDecoder();
-
-  virtual ~GPSDecoder() {delete _rnx;}
+  virtual ~GPSDecoder();
 
   virtual t_irc Decode(char* buffer, int bufLen, 
Index: trunk/BNC/src/PPP/pppThread.cpp
===================================================================
--- trunk/BNC/src/PPP/pppThread.cpp	(revision 5883)
+++ trunk/BNC/src/PPP/pppThread.cpp	(revision 5884)
@@ -80,5 +80,5 @@
     }
     else {
-      _ppRun->processFiles();
+      _pppRun->processFiles();
     }
   }
Index: trunk/BNC/src/bnccore.h
===================================================================
--- trunk/BNC/src/bnccore.h	(revision 5883)
+++ trunk/BNC/src/bnccore.h	(revision 5884)
@@ -28,4 +28,5 @@
 #include <QtGui>
 
+#include "bnctime.h"
 #include "bnccaster.h"
 #include "bncrawfile.h"
Index: trunk/BNC/src/rinex/reqcanalyze.cpp
===================================================================
--- trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 5883)
+++ trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 5884)
@@ -238,5 +238,5 @@
         const t_rnxObsFile::t_rnxSat& rnxSat = _currEpo->rnxSat[iObs];
         t_obs obs;
-        setObsFromRnx(obsFile, _currEpo, rnxSat, obs);
+        t_rnxObsFile::setObsFromRnx(obsFile, _currEpo, rnxSat, obs);
   
         QString prn = QString("%1%2").arg(obs.satSys)
