From c1d1e0c9f242f03521ef023a0e2cac071b5f0133 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 22 Jul 2019 11:01:17 +0200 Subject: Linux: Include in under __USE_MISC Historically, (which is included from ) provided ioctl operations for sockets. User code accessed them through . The kernel UAPI headers have removed these definitions in favor of . This commit makes them available via again. --- sysdeps/unix/sysv/linux/bits/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/unix/sysv/linux/bits/socket.h') diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 082f8b9031..ff5b705f41 100644 --- a/sysdeps/unix/sysv/linux/bits/socket.h +++ b/sysdeps/unix/sysv/linux/bits/socket.h @@ -352,6 +352,7 @@ struct ucred #ifdef __USE_MISC # include # include +# include #else # define SO_DEBUG 1 # include -- cgit v1.2.3