pkgsrc/net/nocol/patches/patch-etherload_util_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
365 B
Text

$NetBSD: patch-etherload_util_c,v 1.1 2012/09/09 19:35:20 dholland Exp $
Use standard headers.
--- etherload/util.c~ 1997-10-19 02:02:31.000000000 +0000
+++ etherload/util.c
@@ -43,6 +43,7 @@ static char *RCSid = "$Header: /home/vik
#include <curses.h>
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include <unistd.h>
#include "etherload.h"