/* Based on error.c and error.h,
written by David MacKenzie <djm@gnu.ai.mit.edu>. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <stdio.h>
+#include "system.h"
#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
-# if __STDC__
+# ifdef __STDC__
# include <stdarg.h>
# define VA_START(args, lastarg) va_start(args, lastarg)
# else
`--------------------------------*/
void
-#if defined VA_START && __STDC__
+#if defined VA_START && defined __STDC__
warn (const char *message, ...)
#else
warn (message, va_alist)
`-----------------------------------------------------------*/
void
-#if defined VA_START && __STDC__
+#if defined VA_START && defined __STDC__
complain (const char *message, ...)
#else
complain (message, va_alist)
`-------------------------------------------------*/
void
-#if defined VA_START && __STDC__
+#if defined VA_START && defined __STDC__
fatal (const char *message, ...)
#else
fatal (message, va_alist)
`------------------------------------------------------------------*/
void
-#if defined VA_START && __STDC__
+#if defined VA_START && defined __STDC__
error (int status, int errnum,
const char *message, ...)
#else