]> git.ozlabs.org Git - ccan/blobdiff - config.h
tdb2: allow read-only databases to use locking.
[ccan] / config.h
index 0473fb1f5220ac72a9d7a471ef46ff8ade7d481c..4cd3f2edb16f8cb5db007378abe60b40161813e2 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,8 +1,12 @@
 /* Generated by CCAN configurator */
+#ifndef CCAN_CONFIG_H
+#define CCAN_CONFIG_H
+#define _GNU_SOURCE /* Always use GNU extensions. */
 #define CCAN_COMPILER "cc"
 #define CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations"
 
 #define HAVE_ALIGNOF 1
+#define HAVE_ASPRINTF 1
 #define HAVE_ATTRIBUTE_COLD 1
 #define HAVE_ATTRIBUTE_CONST 1
 #define HAVE_ATTRIBUTE_MAY_ALIAS 1
@@ -34,3 +38,4 @@
 #define HAVE_TYPEOF 1
 #define HAVE_UTIME 1
 #define HAVE_WARN_UNUSED_RESULT 1
+#endif /* CCAN_CONFIG_H */