openbsd-ports/x11/xfishtank/patches/patch-read_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

11 lines
263 B
Plaintext

$OpenBSD: patch-read_c,v 1.1 2008/07/28 22:29:49 sthen Exp $
--- read.c.orig Mon Jul 28 20:58:19 2008
+++ read.c Mon Jul 28 20:58:45 2008
@@ -1,5 +1,6 @@
#include <X11/Xlib.h>
#include <stdio.h>
+#include <stdlib.h>
#include "compact.h"
#include "medcut.h"