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 505411 - gdkapplaunchcontext.c: unistd.h is the environment dependencies.
gdkapplaunchcontext.c: unistd.h is the environment dependencies.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-12-24 12:12 UTC by Kazuki Iwamoto
Modified: 2007-12-25 04:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for latest gdkapplaunchcontext.c (235 bytes, patch)
2007-12-24 12:15 UTC, Kazuki Iwamoto
none Details | Review

Description Kazuki Iwamoto 2007-12-24 12:12:34 UTC
Please describe the problem:
There is 'unistd.h' in some environments.
But there may not be it.

Steps to reproduce:
1.compile by Visual C++ and so on.


Actual results:
Some errors occur.

Expected results:
'unistd.h' is not needed in gdkapplaunchcontext.c.
gdkapplaunchcontext.c is able to be compiled without 'unistd.h'.
Please delete '#include <unistd.h>'.

Does this happen every time?
all revision

Other information:
Comment 1 Kazuki Iwamoto 2007-12-24 12:15:52 UTC
Created attachment 101540 [details] [review]
patch for latest gdkapplaunchcontext.c
Comment 2 Matthias Clasen 2007-12-25 04:29:02 UTC
2007-12-24  Matthias Clasen  <mclasen@redhat.com>

        * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
         Kazuki IWAMOTO)