include sys/types.h before dirent.h to build on darwin (fixes #72859)

2002-05-20  jacob berkman  <jacob@ximian.com>

	* glib/gdir.c: include sys/types.h before dirent.h to build on
	darwin (fixes #72859)
This commit is contained in:
jacob berkman 2002-05-20 22:51:51 +00:00 committed by Jacob Berkman
parent 116b90dfb1
commit 33c5217efe
8 changed files with 36 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on
darwin (fixes #72859)
Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com> Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (get_contents_regfile): Fix double * glib/gfileutils.c (get_contents_regfile): Fix double

View File

@ -1,3 +1,8 @@
2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on
darwin (fixes #72859)
Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com> Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (get_contents_regfile): Fix double * glib/gfileutils.c (get_contents_regfile): Fix double

View File

@ -1,3 +1,8 @@
2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on
darwin (fixes #72859)
Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com> Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (get_contents_regfile): Fix double * glib/gfileutils.c (get_contents_regfile): Fix double

View File

@ -1,3 +1,8 @@
2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on
darwin (fixes #72859)
Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com> Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (get_contents_regfile): Fix double * glib/gfileutils.c (get_contents_regfile): Fix double

View File

@ -1,3 +1,8 @@
2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on
darwin (fixes #72859)
Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com> Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (get_contents_regfile): Fix double * glib/gfileutils.c (get_contents_regfile): Fix double

View File

@ -1,3 +1,8 @@
2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on
darwin (fixes #72859)
Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com> Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (get_contents_regfile): Fix double * glib/gfileutils.c (get_contents_regfile): Fix double

View File

@ -1,3 +1,8 @@
2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on
darwin (fixes #72859)
Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com> Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (get_contents_regfile): Fix double * glib/gfileutils.c (get_contents_regfile): Fix double

View File

@ -27,6 +27,7 @@
#include <string.h> /* strcmp */ #include <string.h> /* strcmp */
#ifdef HAVE_DIRENT_H #ifdef HAVE_DIRENT_H
#include <sys/types.h>
#include <dirent.h> #include <dirent.h>
#endif #endif