summaryrefslogtreecommitdiff
path: root/editors/ne/patches/patch-src_unixhdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'editors/ne/patches/patch-src_unixhdr.h')
-rw-r--r--editors/ne/patches/patch-src_unixhdr.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/ne/patches/patch-src_unixhdr.h b/editors/ne/patches/patch-src_unixhdr.h
new file mode 100644
index 00000000000..8b933e4eb4d
--- /dev/null
+++ b/editors/ne/patches/patch-src_unixhdr.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_unixhdr.h,v 1.1 2021/08/07 12:20:17 prlw1 Exp $
+
+There is no configure test for GWINSZ_IN_SYS_IOCTL, and ioctl() is used.
+
+--- src/unixhdr.h.orig 2021-05-04 15:35:21.000000000 +0000
++++ src/unixhdr.h
+@@ -29,9 +29,7 @@
+ #endif
+ #endif
+
+-#if defined GWINSZ_IN_SYS_IOCTL && GWINSZ_IN_SYS_IOCTL
+ #include <sys/ioctl.h>
+-#endif
+
+ #ifndef NO_TERM_H
+ #ifndef TERM_H