[glib: 1/2] Include <sys/filio.h> for FIONREAD
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] Include <sys/filio.h> for FIONREAD
- Date: Wed, 5 Jun 2019 11:25:14 +0000 (UTC)
commit de2ad60578f799d1e0dc4c1c4cc3f17d3fbb5ce5
Author: Maya Rashish <maya netbsd org>
Date: Tue Jun 4 00:38:44 2019 +0300
Include <sys/filio.h> for FIONREAD
gio/inotify/inotify-kernel.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gio/inotify/inotify-kernel.c b/gio/inotify/inotify-kernel.c
index 9a2e5008f..881cbfc5a 100644
--- a/gio/inotify/inotify-kernel.c
+++ b/gio/inotify/inotify-kernel.c
@@ -30,6 +30,9 @@
#include <glib.h>
#include "inotify-kernel.h"
#include <sys/inotify.h>
+#ifdef HAVE_SYS_FILIO_H
+#include <sys/filio.h>
+#endif
#include <glib/glib-unix.h>
#include "glib-private.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]