Index: /trunk/psModules/src/objects/Makefile.am
===================================================================
--- /trunk/psModules/src/objects/Makefile.am	(revision 41390)
+++ /trunk/psModules/src/objects/Makefile.am	(revision 41391)
@@ -137,4 +137,5 @@
 	pmDetEff.h \
 	pmSourceGroups.h \
+	pmSourceInternal.h \
 	models/pmModel_GAUSS.h \
 	models/pmModel_PGAUSS.h \
Index: /trunk/psModules/src/objects/pmSourceIO_Ghosts.c
===================================================================
--- /trunk/psModules/src/objects/pmSourceIO_Ghosts.c	(revision 41390)
+++ /trunk/psModules/src/objects/pmSourceIO_Ghosts.c	(revision 41391)
@@ -21,4 +21,5 @@
 #include "pmConfig.h"
 #include "pmDetrendDB.h"
+#include "pmErrorCodes.h"
 
 #include "pmHDU.h"
Index: /trunk/psModules/src/objects/pmSourceIO_Glints.c
===================================================================
--- /trunk/psModules/src/objects/pmSourceIO_Glints.c	(revision 41390)
+++ /trunk/psModules/src/objects/pmSourceIO_Glints.c	(revision 41391)
@@ -21,4 +21,5 @@
 #include "pmConfig.h"
 #include "pmDetrendDB.h"
+#include "pmErrorCodes.h"
 
 #include "pmHDU.h"
Index: /trunk/psModules/src/objects/pmSourceInternal.h
===================================================================
--- /trunk/psModules/src/objects/pmSourceInternal.h	(revision 41391)
+++ /trunk/psModules/src/objects/pmSourceInternal.h	(revision 41391)
@@ -0,0 +1,37 @@
+/** @file psastroInternal.h
+ *
+ *  @brief
+ *
+ *  @ingroup psastro
+ *
+ *  @author IfA
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2009-02-07 02:03:34 $
+ *  Copyright 2009 Institute for Astronomy, University of Hawaii
+ */
+
+# ifdef HAVE_CONFIG_H
+# include <config.h>
+# endif
+
+# ifndef PSASTRO_INTERNAL_H
+# define PSASTRO_INTERNAL_H
+
+# include <stdio.h>
+# include <string.h>
+# include <strings.h>  // for strcasecmp
+# include <unistd.h>   // for unlink
+# include <pslib.h>
+# include <psmodules.h>
+# include <ppStats.h>
+# include "psastro.h"
+
+# define PSASTRO_RECIPE "PSASTRO" ///< Name of the recipe to use
+
+# define psMemCopy(A)(psMemIncrRefCounter((A)))
+# define DEG_RAD 57.295779513082322
+# define RAD_DEG  0.017453292519943
+# define SIGN(X)  (((X) == 0) ? 0 : ((fabs((double)(X))) / (X)))
+
+
+#endif
Index: unk/psModules/src/objects/psastroInternal.h
===================================================================
--- /trunk/psModules/src/objects/psastroInternal.h	(revision 41390)
+++ 	(revision )
@@ -1,29 +1,0 @@
-/** @file psastroInternal.h
- *
- *  @brief
- *
- *  @ingroup psastro
- *
- *  @author IfA
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2009-02-07 02:03:34 $
- *  Copyright 2009 Institute for Astronomy, University of Hawaii
- */
-
-# ifdef HAVE_CONFIG_H
-# include <config.h>
-# endif
-
-# ifndef PSASTRO_INTERNAL_H
-# define PSASTRO_INTERNAL_H
-
-# include <stdio.h>
-# include <string.h>
-# include <strings.h>  // for strcasecmp
-# include <unistd.h>   // for unlink
-# include <pslib.h>
-# include <psmodules.h>
-# include <ppStats.h>
-# include "psastro.h"
-
-#endif
