mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-29 11:00:02 +01:00
Revert "gstdio: #include fcntl.h on UNIX in gstdio.h"
This reverts commit 6f8073d44ab02e9d641ccbe8c2640796ca1456ca. 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…
x
Reference in New Issue
Block a user