pkgsrc/x11/xpostit/patches/patch-ac

20 lines
465 B
Text

$NetBSD: patch-ac,v 1.1 2006/07/29 04:42:08 minskim Exp $
--- util.c.orig 1992-12-11 13:04:17.000000000 +0000
+++ util.c
@@ -45,6 +45,7 @@ static char *RCSid = "$Header: /home/har
#include <X11/Intrinsic.h>
#include <sys/param.h>
#include <stdio.h>
+#include <stdlib.h>
#include <pwd.h>
#include "xpostit.h"
@@ -129,7 +130,6 @@ char *
SafeAlloc(nbytes)
register int nbytes;
{
- char *malloc();
register char *s;
if ((s = malloc(nbytes)) == NULL) {