openbsd-ports/print/ghostview/patches/patch-Dir_c
espie 220c8232ff brute-force fixing of ghostview for sparc64: add prototypes everywhere,
and don't pass abuse-cast int to XtPointer.

pval@ says it works.
2002-04-26 01:44:08 +00:00

12 lines
252 B
Plaintext

$OpenBSD: patch-Dir_c,v 1.1 2002/04/26 01:44:08 espie Exp $
--- Dir.c.orig Fri Apr 26 02:40:50 2002
+++ Dir.c Fri Apr 26 02:41:05 2002
@@ -25,6 +25,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#ifdef SEL_FILE_IGNORE_CASE
#include <ctype.h>