blob: 1f504a7e4068ae312e80d56a492ce29f608ee073 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aj,v 1.2 2012/01/22 19:00:34 abs Exp $
X11R7 uses a different include guard.
--- pTk/Xlib.h.orig 2011-06-13 12:16:52.000000000 +0000
+++ pTk/Xlib.h
@@ -1,5 +1,8 @@
#ifndef _XLIB
#define _XLIB
+#if defined(_X11_XLIB_H_) && !defined(_XLIB_H_)
+#define _XLIB_H_
+#endif
#ifndef _XLIB_H_
#ifndef _X11_XLIB_H_
extern XFontStruct *XLoadQueryFont _ANSI_ARGS_((Display *, const char *));
|