summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-07 23:55:47 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-07 23:55:47 -0800
commitde80ed3de8490eabcba3618f10c18b2d646e1669 (patch)
tree8bd78e6a72e826bb79aaeebdd9e92267854b2d4e
parent254b55b9a7ec350c3b2f857217ef93ffced3b91d (diff)
include "config.h" in *.c files for autoconf definitions
Actually enables the #ifdef XKB code that commit f16c6dd23a attempted to enable Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xclipboard.c4
-rw-r--r--xcutsel.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/xclipboard.c b/xclipboard.c
index 45040b5..1fddf4c 100644
--- a/xclipboard.c
+++ b/xclipboard.c
@@ -28,6 +28,10 @@ in this Software without prior written authorization from The Open Group.
* UTF-8 and CTEXT support: Stanislav Maslovski <stanislav.maslovski@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
diff --git a/xcutsel.c b/xcutsel.c
index b05c4ad..690e201 100644
--- a/xcutsel.c
+++ b/xcutsel.c
@@ -25,6 +25,10 @@ in this Software without prior written authorization from The Open Group.
* Author: Ralph Swick, DEC/Project Athena
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <X11/Intrinsic.h>