1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/tdb
Amitay Isaacs edffe4d165 tdb: Fix build on AIX
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493

Here is the build error on AIX 7.1.

../../lib/tdb/tools/tdbtool.c:39:12: error: 'disable_lock' redeclared as different kind of symbol
 static int disable_lock;
            ^~~~~~~~~~~~
In file included from /usr/include/sys/gfs.h:24:0,
                 from /usr/include/sys/vfs.h:27,
                 from ../../lib/replace/system/filesys.h:48,
                 from ../../lib/tdb/tools/tdbtool.c:26:
/usr/include/sys/lock_def.h:314:5: note: previous declaration of 'disable_lock' was here
 int disable_lock(int,simple_lock_t);
     ^~~~~~~~~~~~

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2018-07-02 08:51:21 +02:00
..
ABI tdb: version 1.3.15 2017-08-24 21:17:48 +02:00
common tdb: Fix a "increases alignment" warning 2018-03-22 07:21:44 +01:00
docs Fix various spelling errors 2015-11-06 13:43:45 +01:00
include tdb: Add new function tdb_transaction_active() 2017-07-02 17:35:19 +02:00
man tdbtool: Add "storehex" command 2017-04-22 09:16:16 +02:00
python python: bulk replace dict.iteritems to items for py3 2018-04-13 07:27:12 +02:00
test tdb: Add new function tdb_transaction_active() 2017-07-02 17:35:19 +02:00
tools tdb: Fix build on AIX 2018-07-02 08:51:21 +02:00
web Update tdb and talloc web pages 2009-05-05 19:04:39 -04:00
_tdb_text.py pyldb: Add a text-based interface for Python 3 2015-07-21 19:04:15 +02:00
configure tdb: Remove autotools support. 2010-12-24 01:15:05 +01:00
doxy.config doc: Remove build/ from doxygen config or it will not work in brew. 2012-08-04 16:31:22 +02:00
Makefile tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
pytdb.c tdb python binding: raise KeyError(key) when the key doesn't exist 2015-07-21 19:04:15 +02:00
tdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript tdb: version 1.3.15 2017-08-24 21:17:48 +02:00