[PATCH 13/94] app-misc/screen: fix pty.h patch for GNU Hurd
Sam James <[email protected]>
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <6165fd2f03b5843232dc81bb8be6c61f39927359.1774994289.git.sam@gentoo.org> |
<pty.h> exists on GNU Hurd which uses glibc. Signed-off-by: Sam James <[email protected]> --- .../screen/files/screen-4.9.1-add-missing-pty.h-header.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-misc/screen/files/screen-4.9.1-add-missing-pty.h-header.patch b/app-misc/screen/files/screen-4.9.1-add-missing-pty.h-header.patch index 81182862989ed..4e39cd947c01a 100644 --- a/app-misc/screen/files/screen-4.9.1-add-missing-pty.h-header.patch +++ b/app-misc/screen/files/screen-4.9.1-add-missing-pty.h-header.patch @@ -10,7 +10,7 @@ not-Linux, so add guard to only apply on Linux. #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -+#if defined(__linux__) || defined(__linux) || defined(linux) ++#if defined(__linux__) || defined(__linux) || defined(linux) || defined(__GNU__) +#include <pty.h> +#endif #include <signal.h> -- 2.53.0