Index: trunk/glueforge/templates/psdb/code.tt
===================================================================
--- trunk/glueforge/templates/psdb/code.tt	(revision 8117)
+++ trunk/glueforge/templates/psdb/code.tt	(revision 8154)
@@ -1,2 +1,4 @@
+#include <stdio.h>
+
 #include "[% pkg_name %].h"
 
@@ -25,3 +27,4 @@
 [% INCLUDE selectrowobjects.tt -%]
 [% INCLUDE deleterowobjects.tt -%]
+[% INCLUDE printobjects.tt -%]
 [% END -%]
