[PATCH] fix seperate tdb build

Stewart Smith stewart at flamingspork.com
Thu Jun 3 14:25:17 GMT 2004

$ cd source/lib/tdb
$ make -f Makefile.tdb

work again.

although i'm not sure if this is technically the correct header to
include... but it is shipped in debian's libc-dev package... so has some
sort of correctness about it.

does say:
 *      ISO C99: 7.18 Integer types <stdint.h>
at the start of the header.

Index: tools/tdbtool.c
--- tools/tdbtool.c	(revision 989)
+++ tools/tdbtool.c	(working copy)
@@ -34,6 +34,7 @@
 #include <sys/time.h>
 #include <ctype.h>
 #include <signal.h>
+#include <stdint.h>
 #include "tdb.h"
 /* a tdb tool for manipulating a tdb database */

More information about the samba-technical mailing list