diff options
author | Maya Rashish <maya@netbsd.org> | 2019-06-04 00:38:44 +0300 |
---|---|---|
committer | Maya Rashish <maya@netbsd.org> | 2019-06-04 13:13:37 +0300 |
commit | de2ad60578f799d1e0dc4c1c4cc3f17d3fbb5ce5 (patch) | |
tree | f3ec35f0a31cb8e093aafd2b137fb3290563fae7 /gio/inotify | |
parent | 41f68f8b19de60b6793e4e0ff90d75c5ac30211c (diff) | |
download | glib-de2ad60578f799d1e0dc4c1c4cc3f17d3fbb5ce5.tar.gz |
Include <sys/filio.h> for FIONREAD
Diffstat (limited to 'gio/inotify')
-rw-r--r-- | gio/inotify/inotify-kernel.c | 3 |
1 files changed, 3 insertions, 0 deletions
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" |