pkgsrc/print/jcabc2ps/patches/patch-memBlock_c
2011-10-03 06:45:30 +00:00

16 lines
356 B
Text

$NetBSD: patch-memBlock_c,v 1.1 2011/10/03 06:45:31 dholland Exp $
Use standard headers.
Declare functions before calling them.
--- memBlock.c~ 2003-04-19 15:31:57.000000000 +0000
+++ memBlock.c
@@ -1,4 +1,8 @@
+#include <string.h>
+#include <stdlib.h>
+
#include "jcabc2ps.h"
+#include "memBlock.h"
int mempad = 0; // Pad chars to add to mallocs