summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/tdb/include
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/lib/tdb/include')
-rw-r--r--ctdb/lib/tdb/include/tdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/lib/tdb/include/tdb.h b/ctdb/lib/tdb/include/tdb.h
index b20c2bfa95d..cd17132fbed 100644
--- a/ctdb/lib/tdb/include/tdb.h
+++ b/ctdb/lib/tdb/include/tdb.h
@@ -32,6 +32,11 @@ extern "C" {
#include "signal.h"
+/* Samba sets hidden attribute when building libraries: we don't. */
+#ifndef _PUBLIC_
+#define _PUBLIC_
+#endif
+
/* flags to tdb_store() */
#define TDB_REPLACE 1 /* Unused */
#define TDB_INSERT 2 /* Don't overwrite an existing entry */