1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Make it compilable on 5-CURRENT after import of GCC3.3 by

using stdarg.h instead of varargs.h.
This commit is contained in:
Hajimu UMEMOTO 2003-07-19 14:29:57 +00:00
parent 6de9cd82d1
commit 8124dc5eed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85193

View File

@ -0,0 +1,14 @@
Index: et/com_err.c
diff -u et/com_err.c.orig et/com_err.c
--- et/com_err.c.orig Wed May 24 05:52:06 2000
+++ et/com_err.c Sat Jul 19 23:22:43 2003
@@ -48,6 +48,9 @@
#include <string.h>
#include "mit-sipb-copyright.h"
+#ifdef __STDC__
+#define HAVE_STDARG_H 1
+#endif
#if defined(HAVE_STDARG_H) || defined(_WINDOWS)
#include <stdarg.h>
#else