summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-08-29 14:16:25 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-08-29 14:16:25 +0000
commit5390e188325ff1e65d2c33531ab8513a33686f58 (patch)
tree3bf309a6499eceabebb3d38174a256aa5dd85a4c
parentdf7dc57880eb3e1e0a2142653339226d00a9aa33 (diff)
Add config.h inclusion, defines based on autoconf header checks.XORG-6_8_99_902XORG-6_8_99_901
-rw-r--r--xset.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/xset.c b/xset.c
index 915bb68..dc94d5b 100644
--- a/xset.c
+++ b/xset.c
@@ -30,6 +30,34 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/programs/xset/xset.c,v 3.31 2003/05/27 22:27:09 tsi Exp $ */
/* Modified by Stephen so keyboard rate is set using XKB extensions */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_X11_EXTENSIONS_DPMS_H
+#define DPMSExtension
+#endif
+
+#ifdef HAVE_X11_EXTENSIONS_MITMISC_H
+#define MITMISC
+#endif
+
+#ifdef HAVE_X11_XKBLIB_H
+#define XKB
+#endif
+
+#if defined(HAVE_X11_EXTENSIONS_XF86MISC_H) && defined(HAVE_X11_EXTENSIONS_XF86MSCSTR_H)
+#define XF86MISC
+#endif
+
+#if defined(HAVE_X11_EXTENSIONS_PRINT_H)
+#define BUILD_XPRINT_SUPPORT
+#endif
+
+#if defined(HAVE_X11_EXTENSIONS_FONTCACHE_H) && defined(HAVE_X11_EXTENSIONS_FONTCACHEP_H)
+#define FONTCACHE
+#endif
+
#include <stdio.h>
#include <ctype.h>
#include <stdarg.h>