blob: 4daf6b51fd16c75d1e3d1bd19a5cafba84dd6779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$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 */
|