#include <stdio.h>
#include <stdlib.h>
-#if defined( HAVE_STDARG_H ) && __STDC__
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
+#include <ac/stdarg.h>
#include <ac/socket.h>
#include <ac/string.h>
/* VARARGS */
int
ber_printf
-#if defined( HAVE_STDARG_H ) && __STDC__
+#ifdef HAVE_STDARG
( BerElement *ber, char *fmt, ... )
#else
( va_alist )
#endif
{
va_list ap;
-#if !(defined( HAVE_STDARG_H ) && __STDC__)
+#ifndef HAVE_STDARG
BerElement *ber;
char *fmt;
#endif
int rc, i;
unsigned long len;
-#if defined( HAVE_STDARG_H ) && __STDC__
+#ifdef HAVE_STDARG
va_start( ap, fmt );
#else
va_start( ap );