* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
-#include <glib/gstdio.h>
+#include <glib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "ltt-private.h"
#include <ltt/facility.h>
+#ifndef g_open
+#define g_open open
+#endif
+
#define g_close close
/* search for the (named) type in the table, if it does not exist