aboutsummaryrefslogtreecommitdiff
path: root/export
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2017-12-23 23:27:20 +0200
committerSergey Poznyakoff <gray@gnu.org>2017-12-23 23:27:20 +0200
commit272713d611c55effeaf1d2b45fbb2c69d70e4c74 (patch)
treef51fba38601f1677f5e7db68db8708accaa5f3d0 /export
parentd9e81e89a543614aeac3b1d767ef2e06a2c1a349 (diff)
downloadgdbm-272713d611c55effeaf1d2b45fbb2c69d70e4c74.tar.gz
gdbm-272713d611c55effeaf1d2b45fbb2c69d70e4c74.tar.bz2
Fix build with --enable-gdbm-export
* THANKS: Add Jakub Bogusz * export/export.c: Define GDBM_EXPORT_18 prior to including gdbmexp.c * src/gdbmexp.c [GDBM_EXPORT_18]: Define GDBM_SET_ERRNO and GDBM_ASSERT_CONSISTENCY.
Diffstat (limited to 'export')
-rw-r--r--export/export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/export/export.c b/export/export.c
index 39e05d1..ede4858 100644
--- a/export/export.c
+++ b/export/export.c
@@ -24,6 +24,7 @@
#include <gdbm.h>
/* Pull in gdbm_export() */
+#define GDBM_EXPORT_18
#include "gdbmexp.c"
void

Return to:

Send suggestions and report system problems to the System administrator.