Index: trunk/psphot/src/psphot.c
===================================================================
--- trunk/psphot/src/psphot.c	(revision 12950)
+++ trunk/psphot/src/psphot.c	(revision 13427)
@@ -1,2 +1,3 @@
+#include <psmodules.h>
 # include "psphotStandAlone.h"
 
@@ -9,4 +10,5 @@
 
     psTimerStart ("complete");
+    pmErrorRegister();			// register psModule's error codes/messages
     psphotErrorRegister();              // register our error codes/messages
     psphotModelGroupInit ();            // load implementation-specific models
