Include sys/types.h for dev_t (#501919)
authorAlexander Larsson <alexl@redhat.com>
Thu, 6 Dec 2007 09:33:59 +0000 (09:33 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Thu, 6 Dec 2007 09:33:59 +0000 (09:33 +0000)
2007-12-06  Alexander Larsson  <alexl@redhat.com>

* glocalfileinfo.h:
Include sys/types.h for dev_t (#501919)

svn path=/trunk/; revision=6057

gio/ChangeLog
gio/glocalfileinfo.h

index 0de9b80..06dca4b 100644 (file)
@@ -1,3 +1,8 @@
+2007-12-06  Alexander Larsson  <alexl@redhat.com>
+
+       * glocalfileinfo.h:
+       Include sys/types.h for dev_t (#501919)
+
 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
 
        * gio.symbols:
index 888d5ba..bcb1d16 100644 (file)
@@ -26,6 +26,9 @@
 #include <gio/gfileinfo.h>
 #include <gio/gfile.h>
 #include <sys/stat.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
 
 G_BEGIN_DECLS