File source-x11r7.dif of Package texlive

---
 texk/xdvik/xdvi.h |    6 ++++++
 1 file changed, 6 insertions(+)

--- texk/xdvik/xdvi.h
+++ texk/xdvik/xdvi.h	2016-01-28 12:20:33.976881969 +0000
@@ -182,6 +182,12 @@ extern unsigned long time_start, time_en
 #include <inttypes.h>
 #endif
 
+/* redefine X11 macros for our own usage, see below */
+#ifdef __STDC__
+# undef NeedFunctionPrototypes
+# undef NeedWidePrototypes
+#endif
+
 /* for unused parameters */
 #ifndef UNUSED
 #  define UNUSED(x) ((void)(x))
openSUSE Build Service is sponsored by