From 46f4584164f9c366b4c72db611ed93779675a215 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Thu, 15 Feb 2024 22:29:51 +0000 Subject: [PATCH] git-bsd4.3-ioctls Committed for glibc 2.33 commit cd41ffeb0bbca641a02e1030e13ab317ce7d645c Author: Samuel Thibault Date: Thu Aug 27 13:35:58 2020 +0200 hurd: define BSD 4.3 ioctls only under __USE_MISC Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-bsd4.3-ioctls.diff --- sysdeps/mach/hurd/bits/ioctls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/mach/hurd/bits/ioctls.h b/sysdeps/mach/hurd/bits/ioctls.h index 6ea885d2c..1e0f1d72f 100644 --- a/sysdeps/mach/hurd/bits/ioctls.h +++ b/sysdeps/mach/hurd/bits/ioctls.h @@ -329,6 +329,7 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_32, IOC_64 }; /* Compatibility with 4.3 BSD terminal driver. From 4.4 . */ +#ifdef __USE_MISC #ifdef USE_OLD_TTY # undef TIOCGETD # define TIOCGETD _IOR('t', 0, int) /* get line discipline */ @@ -440,5 +441,6 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_32, IOC_64 }; # define EXTA 14 # define EXTB 15 #endif /* USE_OLD_TTY */ +#endif #endif /* bits/ioctls.h */ -- 2.30.2