diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-09-12 12:12:27 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2017-09-12 12:12:27 +0100 |
commit | 39469aa7bbccdd7b0526785612295a1534767807 (patch) | |
tree | d3bd26edead14875607b15c3f61d3e98eb8eaca3 /glib/gstdio.h | |
parent | 54e3ed17f05f3bb2843024a828ba0591c34dcff4 (diff) | |
download | glib-39469aa7bbccdd7b0526785612295a1534767807.tar.gz |
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.
Diffstat (limited to 'glib/gstdio.h')
-rw-r--r-- | glib/gstdio.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/glib/gstdio.h b/glib/gstdio.h index 6b03b0118..15091b3e7 100644 --- a/glib/gstdio.h +++ b/glib/gstdio.h @@ -22,9 +22,6 @@ #include <glib/gprintf.h> #include <sys/stat.h> -#ifdef G_OS_UNIX -#include <fcntl.h> -#endif G_BEGIN_DECLS |