fix includes

This commit is contained in:
Matthias Clasen 2005-10-07 20:03:36 +00:00
parent cca9302927
commit 6592f00a6d
3 changed files with 11 additions and 4 deletions

View File

@ -33,6 +33,9 @@
2005-10-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c: Properly fix the unistd.h include
by moving it out of the profiling ifdef.
* gtk/gtkfilechooserdefault.c: Remove a redundant (and
unconditional) include of unistd.h (#318211, Kazuki Iwamoto)

View File

@ -33,6 +33,9 @@
2005-10-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c: Properly fix the unistd.h include
by moving it out of the profiling ifdef.
* gtk/gtkfilechooserdefault.c: Remove a redundant (and
unconditional) include of unistd.h (#318211, Kazuki Iwamoto)

View File

@ -78,10 +78,6 @@
/* Profiling stuff */
#undef PROFILE_FILE_CHOOSER
#ifdef PROFILE_FILE_CHOOSER
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@ -89,6 +85,11 @@
#include <io.h>
#endif
/* Profiling stuff */
#undef PROFILE_FILE_CHOOSER
#ifdef PROFILE_FILE_CHOOSER
#ifndef F_OK
#define F_OK 0
#endif