URL: <https://savannah.gnu.org/bugs/?67525>
Summary: tty.c is missing sys/strredir.h to get SRIOCSREDIR
on Solaris
Group: GNU Screen
Submitter: psumbera
Submitted: Wed 17 Sep 2025 07:41:42 AM UTC
Category: Build/Install
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 5.0.1
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 17 Sep 2025 07:41:42 AM UTC By: Petr Sumbera <psumbera>
--- screen-5.0.1/tty.c
+++ screen-5.0.1/tty.c
@@ -41,6 +41,11 @@ #include <sys/file.h>
#include <sys/ioctl.h>
#include <unistd.h>
+/* For SRIOCSREDIR on Solaris */
+#if defined(__sun__)
+# include <sys/strredir.h>
+#endif
+
#include "screen.h"
#include "fileio.h"
#include "misc.h"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67525>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
