pkgsrc/net/nocol/patches/patch-nsmon_main_c
dholland 680768a793 Fix 64-bit problems as detected by gcc. One must declare functions
returning pointers before calling them.
2012-09-09 19:35:20 +00:00

14 lines
401 B
Text

$NetBSD: patch-nsmon_main_c,v 1.1 2012/09/09 19:35:21 dholland Exp $
Use standard headers.
--- nsmon/main.c~ 1998-08-28 03:21:12.000000000 +0000
+++ nsmon/main.c
@@ -82,6 +82,7 @@
# include "nsmon.h" /* program specific defines */
#undef GLOBALS
+#include <stdlib.h>
#include <string.h> /* For strcat() definitions */
#include <sys/file.h>
#include <signal.h> /* For signal numbers */