$NetBSD: patch-cp,v 1.1 2005/05/29 14:38:33 wiz Exp $ --- progs/gluperf/gluperf.c.orig 1997-09-11 22:50:55.000000000 +0200 +++ progs/gluperf/gluperf.c @@ -6,6 +6,7 @@ #include #include #include +#include #include "glib.h" #include "glib_perf.h" @@ -272,7 +273,7 @@ myGetHostByAddress (int address) return name; } - name = malloc (strlen (tempHost->h_name) + 1); /* Size of name */ + name = (char *)malloc (strlen (tempHost->h_name) + 1); /* Size of name */ if (name == NULL) { fprintf (stderr, "ERROR: out of memory\n"); exit (1);