[PATCH:libXfont] Protect config.h inclusion with ifdef HAVE_CONFIG_H, like usual.

Thomas Klausner wiz at NetBSD.org
Sun Jun 2 12:03:27 PDT 2013


---
 src/fontfile/bunzip2.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/fontfile/bunzip2.c b/src/fontfile/bunzip2.c
index 44d19f0..4078796 100644
--- a/src/fontfile/bunzip2.c
+++ b/src/fontfile/bunzip2.c
@@ -26,7 +26,9 @@
  */
 
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 #include <X11/fonts/fontmisc.h>
 #include <X11/fonts/bufio.h>
-- 
1.8.2.3



More information about the xorg-devel mailing list