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. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/bits/socket.h | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 15ed1438f6..c6dbb2e817 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-07-22 Florian Weimer + + * sysdeps/unix/sysv/linux/bits/socket.h [__USE_MISC]: Include + . + 2019-07-18 Florian Weimer * scripts/build-many-glibcs.py (Context.checkout): Default to 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 1.4.1