Added missing #include <strings.h>.

This commit is contained in:
Andrey Kiselev 2003-08-12 07:51:03 +00:00
parent 9d53f760ba
commit c6b36db6ee

View File

@ -1,4 +1,4 @@
/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.18 2003-08-08 19:46:20 dron Exp $ */
/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.19 2003-08-12 07:51:03 dron Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@ -28,6 +28,7 @@
#include <stdlib.h> /* for atof */
#include <math.h>
#include <time.h>
#include <strings.h>
#include "tiffio.h"
@ -598,6 +599,9 @@ TIFF2PS(FILE* fd, TIFF* tif, float pw, float ph, double lm, double bm, int cnt)
fprintf(fd,
"1 dict begin /PageSize [ %f %f ] def currentdict end setpagedevice\n",
psw, psh);
fputs(
"<<\n /Policies <<\n /PageSize 3\n >>\n>> setpagedevice\n",
fd);
}
fprintf(fd, "gsave\n");
fprintf(fd, "100 dict begin\n");