Module Name:    xsrc
Committed By:   christos
Date:           Sat Feb 27 15:37:38 UTC 2021

Modified Files:
        xsrc/external/mit/xterm/dist: resize.c

Log Message:
Provide an escape ifdef to avoid all the X headers


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.9 -r1.2 xsrc/external/mit/xterm/dist/resize.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xterm/dist/resize.c
diff -u xsrc/external/mit/xterm/dist/resize.c:1.1.1.9 xsrc/external/mit/xterm/dist/resize.c:1.2
--- xsrc/external/mit/xterm/dist/resize.c:1.1.1.9	Thu Feb 11 07:19:55 2021
+++ xsrc/external/mit/xterm/dist/resize.c	Sat Feb 27 10:37:38 2021
@@ -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__)

Reply via email to