summaryrefslogtreecommitdiff
path: root/source4/lib/talloc/testsuite.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-16 01:57:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:45 -0500
commit1f474c2692af8ba704a4071fe6e496cb43e19bae (patch)
tree65cfe9a075899f7ba50712aa9de31eb4fc125e36 /source4/lib/talloc/testsuite.c
parent1d0e2b9569be6f2e8a5495ead1f92c9855f0e7f9 (diff)
downloadsamba-1f474c2692af8ba704a4071fe6e496cb43e19bae.tar.gz
samba-1f474c2692af8ba704a4071fe6e496cb43e19bae.tar.bz2
samba-1f474c2692af8ba704a4071fe6e496cb43e19bae.zip
r6804: Add config.h for talloc (and use it)
(This used to be commit c2ce09d38003fd43212de9cd08e4a781cc2aff88)
Diffstat (limited to 'source4/lib/talloc/testsuite.c')
-rw-r--r--source4/lib/talloc/testsuite.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/lib/talloc/testsuite.c b/source4/lib/talloc/testsuite.c
index 0447749abd..0e3d334316 100644
--- a/source4/lib/talloc/testsuite.c
+++ b/source4/lib/talloc/testsuite.c
@@ -20,17 +20,19 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifdef _SAMBA_BUILD_
-#include "includes.h"
-#else
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
+#ifdef HAVE_STDARG_H
#include <stdarg.h>
+#endif
+
#include <sys/time.h>
#include <time.h>
+
#include "talloc.h"
-#endif
/* the test suite can be built standalone, or as part of Samba */
#ifndef _SAMBA_BUILD_