From f5d6bf0af6aa5e6f1d51e00a617910ddfb76e32c Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Sat, 12 Nov 2011 13:42:31 -0800 Subject: Add va-copy check to configure.ac Signed-off-by: Geoff Levand --- lib/talloc/talloc.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'lib/talloc/talloc.c') diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c index c660870..95a0a6a 100644 --- a/lib/talloc/talloc.c +++ b/lib/talloc/talloc.c @@ -26,19 +26,20 @@ inspired by http://swapped.cc/halloc/ */ - +#if defined(HAVE_CONFIG_H) #include "config.h" - -#include -#include -#include - +#else /* nfsim additions */ #define HAVE_SYS_TYPES_H #define HAVE_UNISTD_H #define HAVE_STDARG_H #define HAVE_STDINT_H #define HAVE_VA_COPY +#endif + +#include +#include +#include #ifdef HAVE_SYS_TYPES_H #include -- cgit v1.2.1