Fix GIO build on Solaris

Major and minor are defined in sys/mkdev.h on Solaris

Patch by Fabian Groffen
https://bugzilla.gnome.org/show_bug.cgi?id=637013
This commit is contained in:
Matthias Clasen
2011-01-28 20:50:43 -05:00
parent 6fe2f5f11b
commit a33aaad00c
2 changed files with 4 additions and 1 deletions

View File

@@ -29,6 +29,9 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MKDEV_H
#include <sys/mkdev.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif