Index: /trunk/psphot/src/psphot.h
===================================================================
--- /trunk/psphot/src/psphot.h	(revision 24889)
+++ /trunk/psphot/src/psphot.h	(revision 24890)
@@ -157,5 +157,5 @@
 bool            psphotSubWithTest (pmSource *source, bool useState, psImageMaskType maskVal);
 bool            psphotSetState (pmSource *source, bool curState, psImageMaskType maskVal);
-bool            psphotDeblendSatstars (psArray *sources, psMetadata *recipe);
+bool            psphotDeblendSatstars (pmReadout *readout, psArray *sources, psMetadata *recipe);
 bool            psphotSourceSize (pmConfig *config, pmReadout *readout, psArray *sources, psMetadata *recipe, long first);
 
Index: /trunk/psphot/src/psphotReadout.c
===================================================================
--- /trunk/psphot/src/psphotReadout.c	(revision 24889)
+++ /trunk/psphot/src/psphotReadout.c	(revision 24890)
@@ -87,5 +87,5 @@
     // find blended neighbors of very saturated stars
     // XXX merge this with Basic Deblend?
-    psphotDeblendSatstars (sources, recipe);
+    psphotDeblendSatstars (readout, sources, recipe);
 
     // mark blended peaks PS_SOURCE_BLEND
@@ -236,2 +236,3 @@
     return psphotReadoutCleanup(config, readout, recipe, detections, psf, sources);
 }
+
Index: /trunk/psphot/src/psphotReadoutMinimal.c
===================================================================
--- /trunk/psphot/src/psphotReadoutMinimal.c	(revision 24889)
+++ /trunk/psphot/src/psphotReadoutMinimal.c	(revision 24890)
@@ -59,5 +59,5 @@
     // find blended neighbors of very saturated stars
     // XXX merge this with Basic Deblend?
-    psphotDeblendSatstars (sources, recipe);
+    psphotDeblendSatstars (readout, sources, recipe);
 
     // mark blended peaks PS_SOURCE_BLEND
