openbsd-ports/news/yencode/patches/patch-lib_screen_c
2022-03-11 19:48:55 +00:00

12 lines
234 B
Plaintext

--- lib/screen.c.orig Sat Jan 22 21:43:52 2005
+++ lib/screen.c Sat Jan 22 21:49:26 2005
@@ -20,7 +20,7 @@
#include "misc.h"
-#ifndef TIOCGWINSZ
+#if !defined(TIOCGWINSZ) || defined(__OpenBSD__)
#include <sys/ioctl.h>
#endif