$NetBSD$

--- printer.c.orig	2006-06-15 07:57:40.000000000 +0200
+++ printer.c	2006-06-15 08:38:59.000000000 +0200
@@ -89,6 +89,9 @@
 
 #ifndef XFRACT
 #include <conio.h>
+#endif
+
+#if !defined(USE_VARARGS)
 #include <stdarg.h>
 #else
 #include <varargs.h>
@@ -136,7 +139,7 @@
 
 /********      PROTOTYPES     ********/
 
-#ifndef XFRACT
+#if !defined(USE_VARARGS)
 static void Printer_printf(char far *fmt,...);
 #else
 static void Printer_printf();
@@ -1335,7 +1338,7 @@ static void _fastcall print_title(int pt
 
 /* This function prints a string to the the printer with BIOS calls. */
 
-#ifndef XFRACT
+#if !defined(USE_VARARGS)
 static void Printer_printf(char far *fmt,...)
 #else
 static void Printer_printf(va_alist)
@@ -1347,7 +1350,7 @@ char s[500];
 int x=0;
 va_list arg;
 
-#ifndef XFRACT
+#if !defined(USE_VARARGS)
 va_start(arg,fmt);
 #else
 char far *fmt;
