Index: trunk/psModules/src/detrend/pmDetrendDB.c
===================================================================
--- trunk/psModules/src/detrend/pmDetrendDB.c	(revision 8842)
+++ trunk/psModules/src/detrend/pmDetrendDB.c	(revision 8848)
@@ -3,7 +3,9 @@
 #endif
 
-# include <pslib.h>
-# include "pmFPA.h"
-# include "pmDetrendDB.h"
+#include <stdio.h>
+#include <string.h>
+#include <pslib.h>
+#include "pmFPA.h"
+#include "pmDetrendDB.h"
 
 // ************* detrend select functions **************
Index: trunk/psModules/src/detrend/pmFringeStats.c
===================================================================
--- trunk/psModules/src/detrend/pmFringeStats.c	(revision 8842)
+++ trunk/psModules/src/detrend/pmFringeStats.c	(revision 8848)
@@ -3,6 +3,6 @@
  *  @author Eugene Magnier, IfA
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-09-15 09:49:01 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-09-20 02:36:36 $
  *
  *  Copyright 2004 IfA
@@ -15,4 +15,5 @@
 #include <stdio.h>
 #include <assert.h>
+#include <string.h>
 #include <pslib.h>
 #include "pmFPA.h"
Index: trunk/psModules/src/detrend/psIOBuffer.c
===================================================================
--- trunk/psModules/src/detrend/psIOBuffer.c	(revision 8842)
+++ trunk/psModules/src/detrend/psIOBuffer.c	(revision 8848)
@@ -4,8 +4,10 @@
 #endif
 
-# include <unistd.h>
-# include <pslib.h>
-# include "pmFPA.h"
-# include "pmDetrendDB.h"
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <pslib.h>
+#include "pmFPA.h"
+#include "pmDetrendDB.h"
 
 static void psIOBufferFree (psIOBuffer *buffer)
Index: trunk/psModules/src/detrend/psPipe.c
===================================================================
--- trunk/psModules/src/detrend/psPipe.c	(revision 8842)
+++ trunk/psModules/src/detrend/psPipe.c	(revision 8848)
@@ -3,10 +3,12 @@
 #endif
 
-# include <sys/types.h>
-# include <unistd.h>
-# include <fcntl.h>
-# include <pslib.h>
-# include "pmFPA.h"
-# include "pmDetrendDB.h"
+#include <stdio.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <pslib.h>
+#include "pmFPA.h"
+#include "pmDetrendDB.h"
 
 void closePipes (int *stdin_fd, int *stdout_fd, int *stderr_fd)
