$NetBSD: patch-ah,v 1.1 2006/06/14 09:07:45 rillig Exp $ --- fractint.c.orig 2006-06-15 07:57:40.000000000 +0200 +++ fractint.c 2006-06-15 08:32:32.000000000 +0200 @@ -3,14 +3,17 @@ Main Routine */ +#if !defined(USE_VARARGS) +#include +#else +#include +#endif + #include #include #include #ifndef XFRACT #include -#include -#else -#include #endif #include @@ -540,7 +543,7 @@ int check_key() timer(1,NULL,int width) decoder timer(2) encoder */ -#ifndef XFRACT +#if !defined(USE_VARARGS) int timer(int timertype,int(*subrtn)(),...) #else int timer(va_alist) @@ -555,7 +558,7 @@ va_dcl int i; int do_bench; -#ifndef XFRACT +#if !defined(USE_VARARGS) va_start(arg_marker,subrtn); #else int timertype;