mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
r17264: - remove unused includes from talloc
- check explicit check for varargs.h as fallback from stdarg.h and fail the build if both are not present metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
195754b169
commit
b091d182fe
@@ -37,22 +37,12 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDARG_H
|
||||
#if defined(HAVE_STDARG_H)
|
||||
#include <stdarg.h>
|
||||
#else
|
||||
#elif defined (HAVE_VARARGS_H)
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#error "no var arg header"
|
||||
#endif
|
||||
|
||||
#include "talloc.h"
|
||||
|
||||
Reference in New Issue
Block a user