+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
-#ifndef __CYGWIN32__
+#if !defined( __CYGWIN__ ) && !defined( __CYGWIN32__ )
# include <malloc.h>
#endif
#endif
int xglTraceOn = TRUE ;
+
#ifndef WIN32
FILE *xglTraceFd = stdout ;
#else /* WIN32 */