diff options
author | Tim Potter <tpot@samba.org> | 2004-06-07 01:51:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:34 -0500 |
commit | b619abb98e0c9384f75586a56e63fd3a1fc6badb (patch) | |
tree | c19e0621658c0a96d5825d4db2084f37f21d8dd8 /source4/lib/tdb/common/tdb.c | |
parent | cfb25947f2fd45254b5fac0be6c15dd4e1c9cc84 (diff) | |
download | samba-b619abb98e0c9384f75586a56e63fd3a1fc6badb.tar.gz samba-b619abb98e0c9384f75586a56e63fd3a1fc6badb.tar.bz2 samba-b619abb98e0c9384f75586a56e63fd3a1fc6badb.zip |
r1053: Make tdb build standalone:
- #include <stdint.h>
- uint_t isn't a valid type, change back to unsigned int
(This used to be commit f690325565d2393bba3cb9f6e7cdf3753cbd4423)
Diffstat (limited to 'source4/lib/tdb/common/tdb.c')
-rw-r--r-- | source4/lib/tdb/common/tdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/tdb/common/tdb.c b/source4/lib/tdb/common/tdb.c index d4c0928217..ef13955fab 100644 --- a/source4/lib/tdb/common/tdb.c +++ b/source4/lib/tdb/common/tdb.c @@ -53,6 +53,7 @@ #include <stdlib.h> #include <stdio.h> +#include <stdint.h> #include <fcntl.h> #include <unistd.h> #include <string.h> @@ -541,7 +542,7 @@ static tdb_off tdb_dump_record(TDB_CONTEXT *tdb, tdb_off offset) if (tailer != rec.rec_len + sizeof(rec)) { printf("ERROR: tailer does not match record! tailer=%u totalsize=%u\n", - (uint_t)tailer, (uint_t)(rec.rec_len + sizeof(rec))); + (unsigned int)tailer, (unsigned int)(rec.rec_len + sizeof(rec))); } return rec.next; } |