Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xterm/dist Provide an escape ifdef to avoid a...



details:   https://anonhg.NetBSD.org/xsrc/rev/bffad7332e01
branches:  trunk
changeset: 10653:bffad7332e01
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 27 15:37:38 2021 +0000

description:
Provide an escape ifdef to avoid all the X headers

diffstat:

 external/mit/xterm/dist/resize.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 44e1ff02d04b -r bffad7332e01 external/mit/xterm/dist/resize.c
--- a/external/mit/xterm/dist/resize.c  Wed Feb 17 03:03:27 2021 +0000
+++ b/external/mit/xterm/dist/resize.c  Sat Feb 27 15:37:38 2021 +0000
@@ -57,11 +57,15 @@
 #include <stdio.h>
 #include <ctype.h>
 
+#ifdef RESIZE_ONLY
+#include "resize.h"
+#else
 #include <xterm.h>
 #include <version.h>
 #include <xstrings.h>
 #include <xtermcap.h>
 #include <xterm_io.h>
+#endif
 
 #ifndef USE_TERMINFO           /* avoid conflict with configure script */
 #if defined(__QNX__) || defined(__SCO__) || defined(linux) || defined(__OpenBSD__) || defined(__UNIXWARE__)



Home | Main Index | Thread Index | Old Index