git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5697841
)
r17952: merge changes from samba3
author
Stefan Metzmacher
<metze@samba.org>
Thu, 31 Aug 2006 07:43:09 +0000
(07:43 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:16:56 +0000
(14:16 -0500)
metze
source/lib/talloc/testsuite.c
patch
|
blob
|
history
diff --git
a/source/lib/talloc/testsuite.c
b/source/lib/talloc/testsuite.c
index 5f7b68776b91ff2e3cf45c25d7607c5dcf565a0c..013f01cc2cfdf606df224f618767834011c0e7f7 100644
(file)
--- a/
source/lib/talloc/testsuite.c
+++ b/
source/lib/talloc/testsuite.c
@@
-24,6
+24,10
@@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef _SAMBA_BUILD_
+#include "version.h"
+#endif /* _SAMBA_BUILD_ */
+
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
@@
-64,7
+68,7
@@
static double timeval_elapsed(struct timeval *tv)
(tv2.tv_usec - tv->tv_usec)*1.0e-6;
}
-#if SAMBA_VERSION_MAJOR
<4
+#if SAMBA_VERSION_MAJOR
==3
#ifdef malloc
#undef malloc
#endif