aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/aio.h')
-rw-r--r--sys/sys/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/aio.h b/sys/sys/aio.h
index dbfbadcd1254..ee928b8bf846 100644
--- a/sys/sys/aio.h
+++ b/sys/sys/aio.h
@@ -43,7 +43,7 @@
#define LIO_NOP 0x0
#define LIO_WRITE 0x1
#define LIO_READ 0x2
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_WANT_ALL_LIO_OPCODES)
#define LIO_SYNC 0x3
#define LIO_MLOCK 0x4
#define LIO_WRITEV 0x5