[glib] gstdio: #include fcntl.h on UNIX in gstdio.h
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gstdio: #include fcntl.h on UNIX in gstdio.h
- Date: Tue, 12 Sep 2017 10:11:12 +0000 (UTC)
commit 6f8073d44ab02e9d641ccbe8c2640796ca1456ca
Author: Reuben Thomas <rrt sc3d org>
Date: Tue Sep 12 10:49:43 2017 +0100
gstdio: #include fcntl.h on UNIX in gstdio.h
https://bugzilla.gnome.org/show_bug.cgi?id=781598
glib/gstdio.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/glib/gstdio.h b/glib/gstdio.h
index 15091b3..6b03b01 100644
--- a/glib/gstdio.h
+++ b/glib/gstdio.h
@@ -22,6 +22,9 @@
#include <glib/gprintf.h>
#include <sys/stat.h>
+#ifdef G_OS_UNIX
+#include <fcntl.h>
+#endif
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]