Index: trunk/psphot/src/psphotEnsemblePSF.c
===================================================================
--- trunk/psphot/src/psphotEnsemblePSF.c	(revision 8672)
+++ trunk/psphot/src/psphotEnsemblePSF.c	(revision 8780)
@@ -1,2 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 # include "psphot.h"
 bool pmSourceChisq (pmModel *model, psImage *image, psImage *mask, psImage *weight);
