diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-05-16 21:08:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:48 -0500 |
commit | a0e786c4464a0b25574093295751afd906034c6b (patch) | |
tree | 05a1362fec72979e82754ae4d1f9da8955832129 /source4/lib/talloc/talloc.c | |
parent | d29f44c594f4857593e361e9e31eef3cec1a912c (diff) | |
download | samba-a0e786c4464a0b25574093295751afd906034c6b.tar.gz samba-a0e786c4464a0b25574093295751afd906034c6b.tar.bz2 samba-a0e786c4464a0b25574093295751afd906034c6b.zip |
r6828: More portability fixes
(This used to be commit f46c532883e18b8780ff73d3ac0899690eeab3f4)
Diffstat (limited to 'source4/lib/talloc/talloc.c')
-rw-r--r-- | source4/lib/talloc/talloc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/talloc/talloc.c b/source4/lib/talloc/talloc.c index d3fa961c74..8a29c8c014 100644 --- a/source4/lib/talloc/talloc.c +++ b/source4/lib/talloc/talloc.c @@ -27,12 +27,21 @@ */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> + +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #ifdef HAVE_STDARG_H #include <stdarg.h> |