[PATCH:mkfontscale 1/2] Protect config.h inclusion like usual.

Thomas Klausner wiz at NetBSD.org
Sun Jun 2 12:16:54 PDT 2013


---
 ident.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ident.c b/ident.c
index bf54483..8addee7 100644
--- a/ident.c
+++ b/ident.c
@@ -47,7 +47,9 @@
    and 0 if it should be processed normally.  identifyBitmap is
    much faster than parsing the whole font. */
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 #include <stdlib.h>
 #include <string.h>
-- 
1.8.2.3



More information about the xorg-devel mailing list