]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
bsd-misc: include sys/ioctl.h
authorMike Frysinger <vapier@gentoo.org>
Mon, 13 Oct 2025 16:49:24 +0000 (12:49 -0400)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 14 Oct 2025 07:36:24 +0000 (18:36 +1100)
This file uses ioctl() to implement some fallback functions, but
doesn't include sys/ioctl.h for it.

openbsd-compat/bsd-misc.c

index 2c196ec23eee1070cf7334522971e9d9c8f3d6d4..fe0c2a3006fa9b0dccb7b0bf35ed59526e443c09 100644 (file)
@@ -18,6 +18,7 @@
 #include "includes.h"
 
 #include <sys/types.h>
+#include <sys/ioctl.h>
 #ifdef HAVE_SYS_SELECT_H
 # include <sys/select.h>
 #endif