Modified to compile on Windows.

This commit is contained in:
Frank Warmerdam 1999-08-17 03:07:43 +00:00
parent 913384e4c2
commit 0c05326424

View File

@ -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 * Copyright (c) 1991-1997 Sam Leffler
@ -28,10 +28,14 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>
#ifndef VMS
#include <unistd.h> #if defined(VMS)
#else
#include <unixio.h> #include <unixio.h>
#elif defined(_WINDOWS)
#include <io.h>
#define off_t toff_t
#else
#include <unistd.h>
#endif #endif
#include "tiffio.h" #include "tiffio.h"