Add config.h support : will fix the LARGEFILE problem
[lttv.git] / ltt / branches / poly / ltt / facility.c
index 47db6b80c29c7108fc1e1b0e95162814b339bc39..84baac98421ce92a6c4a5907015e908b90bba2b7 100644 (file)
  * 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
This page took 0.025573 seconds and 4 git commands to generate.