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 742201 - Missing #includes in gstdio.h
Missing #includes in gstdio.h
Status: RESOLVED DUPLICATE of bug 781598
Product: glib
Classification: Platform
Component: general
2.42.x
Other Linux
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-01-01 21:24 UTC by Michael Catanzaro
Modified: 2017-09-11 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Catanzaro 2015-01-01 21:24:43 UTC
I think gstdio.h should include what clients need to use it, no? I have to manually #include <fcntl.h> if I want to use g_open():

../../Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:330:42: error: ‘open’ was not declared in this scope
         int ret = g_open(pathname, flags, 0);
                                          ^
Comment 1 Daniel Boles 2017-09-11 15:26:55 UTC

*** This bug has been marked as a duplicate of bug 781598 ***