summaryrefslogtreecommitdiff
path: root/tools/fax2ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fax2ps.c')
-rw-r--r--tools/fax2ps.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/fax2ps.c b/tools/fax2ps.c
index 36ab150e..a22401f5 100644
--- a/tools/fax2ps.c
+++ b/tools/fax2ps.c
@@ -1,4 +1,4 @@
-/* $Header: /usr/local/cvs/internal/libtiff/tools/fax2ps.c,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $" */
+/* $Header: /cvsroot/osrs/libtiff/tools/fax2ps.c,v 1.2 1999/08/17 03:07:43 warmerda Exp $" */
/*
* Copyright (c) 1991-1997 Sam Leffler
@@ -28,10 +28,14 @@
#include <string.h>
#include <stdlib.h>
#include <time.h>
-#ifndef VMS
-#include <unistd.h>
-#else
+
+#if defined(VMS)
#include <unixio.h>
+#elif defined(_WINDOWS)
+#include <io.h>
+#define off_t toff_t
+#else
+#include <unistd.h>
#endif
#include "tiffio.h"