Bug 10625 - tdb.h missing include of stdbool.h since commit db5bda56bf08 (tdb: add TDB_MUTEX_LOCKING support)
Summary: tdb.h missing include of stdbool.h since commit db5bda56bf08 (tdb: add TDB_MU...
Status: RESOLVED FIXED
Alias: None
Product: TDB
Classification: Unclassified
Component: libtdb (show other bugs)
Version: unspecified
Hardware: All All
: P5 critical
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on: 10974
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-23 17:38 UTC by Adam Williamson
Modified: 2014-12-04 08:08 UTC (History)
2 users (show)

See Also:


Attachments
patch to fix the bug (735 bytes, patch)
2014-05-23 17:38 UTC, Adam Williamson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Williamson 2014-05-23 17:38:29 UTC
Created attachment 9970 [details]
patch to fix the bug

Commit db5bda56bf08 (tdb: add TDB_MUTEX_LOCKING support) added a bool to tdb.h , but did not also add #include <stdbool.h> . This prevents any C code that includes tdb.h from building, at least for me with GCC 4.9.0 on Fedora Rawhide.

Attaching a git-formatted patch that adds the missing #include.
Comment 1 Volker Lendecke 2014-05-23 18:03:24 UTC
Comment on attachment 9970 [details]
patch to fix the bug

Reviewed-by: Volker Lendecke <vl@samba.org>
Comment 2 Stefan Metzmacher 2014-12-04 08:08:51 UTC
fixed in tdb-1.3.2