pkgsrc/net/nocol/patches/patch-etherload_bpf_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

15 lines
392 B
Text

$NetBSD: patch-etherload_bpf_c,v 1.1 2012/09/09 19:35:20 dholland Exp $
Use standard headers.
--- etherload/bpf.c~ 1997-08-22 05:44:36.000000000 +0000
+++ etherload/bpf.c
@@ -43,6 +43,8 @@ static char *RCSid = "$Header: /home/vik
#include <net/if.h>
#include <signal.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <errno.h>
/* #include <netinet/in.h> /* */