aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-11-06 23:11:49 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-11-06 23:11:49 +0000
commitcc3d9cb78f2f117cd14db8cadcfc37f92d359f63 (patch)
tree3979b9341045fb4fc327b1c040e94ca971b27d65
parentc3187174bfe39f05c8aa8c6b411952e4b502477d (diff)
Obviously, <glib/gstdio.h> is available since GLib version 2.6 only ...
svn path=/trunk/; revision=16404
-rw-r--r--wiretap/file_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_util.h b/wiretap/file_util.h
index 25509a9d33..f29b554edd 100644
--- a/wiretap/file_util.h
+++ b/wiretap/file_util.h
@@ -30,7 +30,6 @@ extern "C" {
#endif /* __cplusplus */
#include <glib.h>
-#include <glib/gstdio.h> /* XXX - is this file GLib 2.6 only? */
#ifdef _WIN32
#include <io.h>
@@ -44,6 +43,7 @@ extern "C" {
/* Since GLib2.6, wrappers were added around functions which provides filenames to library functions,
like open() does. */
#if GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 6)
+#include <glib/gstdio.h> /* available since GLib 2.6 only! */
/* GLib2.6 or above, using new wrapper functions */
#define eth_mkstemp g_mkstemp