From 0c053264241f4140500550cfd47e111e88f044b0 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Tue, 17 Aug 1999 03:07:43 +0000 Subject: [PATCH] Modified to compile on Windows. --- tools/fax2ps.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/fax2ps.c b/tools/fax2ps.c index b52ceba8..cb4b791c 100644 --- a/tools/fax2ps.c +++ b/tools/fax2ps.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/tools/fax2ps.c,v 1.1 1999-07-27 21:50:28 mike Exp $" */ +/* $Header: /cvs/maptools/cvsroot/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 #include #include -#ifndef VMS -#include -#else + +#if defined(VMS) #include +#elif defined(_WINDOWS) +#include +#define off_t toff_t +#else +#include #endif #include "tiffio.h"