summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/io.c b/io.c
index 4ed4ee34f8..7ff7e5a33c 100644
--- a/io.c
+++ b/io.c
@@ -10148,6 +10148,7 @@ linux_iocparm_len(ioctl_req_t cmd)
}
#endif
+#ifdef HAVE_IOCTL
static long
ioctl_narg_len(ioctl_req_t cmd)
{
@@ -10169,6 +10170,7 @@ ioctl_narg_len(ioctl_req_t cmd)
return len;
}
+#endif
#ifdef HAVE_FCNTL
#ifdef __linux__