After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 318211 - gtkfilechooserdefault.c: unistd.h error
gtkfilechooserdefault.c: unistd.h error
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-10-07 15:35 UTC by Kazuki Iwamoto
Modified: 2005-10-07 16:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2005-10-07 15:35:13 UTC
Please describe the problem:
unistd.h is included unconditionally.

Steps to reproduce:
1. compile by Visual C++

Actual results:
following messages are displayed.
gtkfilechooserdefault.c(82) : fatal error C1083: Cannot open include file:
'unistd.h': No such file or directory

Expected results:
"#include <unistd.h>" should be surrounded by "#ifdef HAVE_UNISTD_H" and "#endif".

Does this happen every time?
every time

Other information:
Comment 1 Matthias Clasen 2005-10-07 16:23:39 UTC
2005-10-07   Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c: Remove a redundant (and
        unconditional) include of unistd.h  (#318211, Kazuki Iwamoto)