openbsd-ports/x11/xfishtank/patches/patch-gifread_c
sthen 08a7c8d5ae - fix missing malloc() prototypes causing build failure and other
problems on LP64.

- fix select() use.

- main() should return int.

ok/suggestions naddy@
2008-07-28 22:29:49 +00:00

12 lines
307 B
Plaintext

$OpenBSD: patch-gifread_c,v 1.1 2008/07/28 22:29:49 sthen Exp $
--- gifread.c.orig Mon Jul 28 20:58:24 2008
+++ gifread.c Mon Jul 28 20:58:41 2008
@@ -56,6 +56,7 @@
#include <X11/Xlib.h>
#include <stdio.h>
+#include <stdlib.h>
#if defined(SYSV) || defined(SVR4)
#include <string.h>
#else /* SYSV */