--- libSoXt/src/SoGLwDrawA.c.orig	2002-03-05 08:19:23.000000000 +1100
+++ libSoXt/src/SoGLwDrawA.c	2010-12-02 15:14:03.000000000 +1100
@@ -45,6 +45,7 @@
 #include "SoGLwDrawAP.h"
 #endif /* __GLX_MOTIF */
 #include <assert.h>
+#include <stdio.h>
 
 #ifdef __GLX_MOTIF
 /* The MOTIF version differs only in the inclusion of the primitive