Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
1e3138a0
Commit
1e3138a0
authored
Aug 31, 2011
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tdb2: make tdb1 headers include tdb2 headers.
They're about to start sharing TDB2's definitions.
parent
0fd5be29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
29 deletions
+4
-29
ccan/tdb2/tdb1.h
ccan/tdb2/tdb1.h
+1
-0
ccan/tdb2/tdb1_private.h
ccan/tdb2/tdb1_private.h
+3
-29
No files found.
ccan/tdb2/tdb1.h
View file @
1e3138a0
...
...
@@ -26,6 +26,7 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "tdb2.h"
#ifndef _SAMBA_BUILD_
/* For mode_t */
...
...
ccan/tdb2/tdb1_private.h
View file @
1e3138a0
...
...
@@ -25,37 +25,11 @@
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _SAMBA_BUILD_
#include "config.h"
/* This keeps us consistent with TDB2 code. */
#if HAVE_FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
#endif
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
#include <utime.h>
#else
#include "replace.h"
#include "system/filesys.h"
#include "system/time.h"
#include "system/shmem.h"
#include "system/select.h"
#include "system/wait.h"
#endif
#include "private.h"
#include "tdb1.h"
#include <limits.h>
/* Temporary wrapper to avoid undue churn in test/ */
#define tdb1_error(tdb) ((tdb)->ecode)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment