pkgsrc-wip/pdfedit/patches/patch-ab
2011-01-06 21:42:16 +00:00

14 lines
399 B
Text

$NetBSD: patch-ab,v 1.2 2011/01/06 21:42:16 thomasklausner Exp $
Include stdlib.h for mkstemp().
--- src/xpdf/goo/gfile.cc.orig 2008-09-09 10:21:12.000000000 -0400
+++ src/xpdf/goo/gfile.cc
@@ -20,6 +20,7 @@
# include <sys/stat.h>
# include <fcntl.h>
# endif
+# include <stdlib.h>
# include <limits.h>
# include <string.h>
# if !defined(VMS) && !defined(ACORN) && !defined(MACOS)