GCC no longer supports <varargs.h>, change to <stdarg.h>
authorPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 14:21:26 +0000 (14:21 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 14:21:26 +0000 (14:21 +0000)
cde/lib/DtTerm/TermPrim/TermPrimDebug.c

index 19899116ce479998ace0aa0c9cc600fc8fdc8ec2..6f8e17008826a555fc09360478bdf5cbeb2e4885 100644 (file)
@@ -39,7 +39,11 @@ static char rcs_id[] = "$XConsortium: TermPrimDebug.c /main/4 1996/11/21 19:58:1
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
-#include <varargs.h>
+#if !defined(linux)
+# include <varargs.h>
+#else
+# include <stdarg.h>
+#endif
 #include "TermHeader.h"
 #include "TermPrimDebug.h"
 #include <signal.h>