summaryrefslogtreecommitdiff
path: root/lib/xcb-util/src/atoms.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2015-04-06 12:38:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2015-04-06 12:38:13 +0000
commit641eb9339bdbce3a8ff85133ccb8767fc92110c5 (patch)
tree5681f5952687c3d2991cf14de7d11b473655b932 /lib/xcb-util/src/atoms.c
parent442caf8fa098b10b4fb006d93a03dedea202a5aa (diff)
Update to xcb-util 0.4.0
Diffstat (limited to 'lib/xcb-util/src/atoms.c')
-rw-r--r--lib/xcb-util/src/atoms.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/xcb-util/src/atoms.c b/lib/xcb-util/src/atoms.c
index 7b3aec6c0..e5c33e5dd 100644
--- a/lib/xcb-util/src/atoms.c
+++ b/lib/xcb-util/src/atoms.c
@@ -1,9 +1,12 @@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* Rely on vasprintf (GNU extension) instead of vsnprintf if
possible... */
-#ifdef HAVE_VASPRINTF
#define _GNU_SOURCE
#include <stdio.h>
-#endif
#include <xcb/xcb.h>
#include <stdlib.h>