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

Thomas Klausner wiz at NetBSD.org
Sun Jun 2 12:30:39 PDT 2013


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

diff --git a/xrandr.c b/xrandr.c
index 94e5c2e..da786cb 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -41,7 +41,9 @@
 #include <stdarg.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 static char	*program_name;
 static Display	*dpy;
-- 
1.8.2.3



More information about the xorg-devel mailing list