mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Revert "gstdio: #include fcntl.h on UNIX in gstdio.h"
This reverts commit 6f8073d44a
.
As per further discussion on bug #781598, we can’t do this in GLib,
since fcntl.h is not guaranteed to be present on all Unix systems. Users
of GLib *must* do a header check (for example, using AC_CHECK_HEADERS)
and #include fcntl.h themselves.
This commit is contained in:
parent
54e3ed17f0
commit
39469aa7bb
@ -22,9 +22,6 @@
|
||||
#include <glib/gprintf.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#ifdef G_OS_UNIX
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user