23 lines
571 B
Text
23 lines
571 B
Text
$NetBSD: patch-etherload_main_c,v 1.2 2012/09/09 19:42:25 dholland Exp $
|
|
|
|
- use standard headers
|
|
- use own headers
|
|
|
|
--- etherload/main.c.orig 1997-08-22 05:58:22.000000000 +0000
|
|
+++ etherload/main.c
|
|
@@ -65,6 +65,7 @@ static char *RCSid = "$Id: main.c,v 1.5
|
|
#include <signal.h>
|
|
#include <errno.h>
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
|
|
@@ -73,6 +74,7 @@ static char *RCSid = "$Id: main.c,v 1.5
|
|
#endif
|
|
|
|
#include "etherload.h"
|
|
+#include "externs.h"
|
|
|
|
int debug = 0;
|
|
int truncation = 200; /* pkt trunc len - magic */
|