summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2019-11-22 19:54:38 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2019-11-22 19:54:38 +0000
commitead12a861a9f8d9515c64114ec5c190b0c357da4 (patch)
tree392615298ec5643a752b5215b57f69816543057e /ev.c
parent024456feeba046d5a9dcc445c694cfb694e74df9 (diff)
downloadlibev-master.tar.gz
libev-master.zip
*** empty log message ***HEADmaster
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev.c b/ev.c
index 3b80a2d..9dc2a24 100644
--- a/ev.c
+++ b/ev.c
@@ -450,8 +450,8 @@
#endif
#if __linux && EV_USE_IOURING
-# include <linux/fs.h>
-# ifndef RWF_SYNC
+# include <linux/version.h>
+# if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0)
# undef EV_USE_IOURING
# define EV_USE_IOURING 0
# endif