openbsd-ports/print/a2ps/patches/patch-lib_path-concat_c
jasper e5e123db33 - add a bunch of missing headers that fix a crash at startup on amd64.
* another example why checking build logs for implicit declarations
  makes sense

crash noticed by claudio@
2009-01-07 17:51:16 +00:00

13 lines
302 B
Plaintext

$OpenBSD: patch-lib_path-concat_c,v 1.1 2009/01/07 17:51:16 jasper Exp $
--- lib/path-concat.c.orig Wed Jan 7 18:27:53 2009
+++ lib/path-concat.c Wed Jan 7 18:28:12 2009
@@ -31,6 +31,8 @@
#endif
#include <sys/types.h>
+#include <stdlib.h>
+
/* char *malloc (); */
#ifndef DIRECTORY_SEPARATOR