summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-02 21:30:39 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-06-02 16:36:49 -0700
commitbd1502f50f0c230798bdce99dec6efc76791c024 (patch)
tree98a66d26987ca07bbab152c27e02afe51421ffd9
parentace5e2b21b2a204f94c6452fa0d8f36699aec249 (diff)
Protect config.h like usual.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xrandr.c2
1 files changed, 2 insertions, 0 deletions
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;