blob: 2783089d3a8fec98a34cd9d3dd3d3c7ceca537d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$NetBSD: patch-ab,v 1.2 1998/08/08 21:28:32 kim Exp $
--- ntop.h.orig Fri Jul 31 12:31:45 1998
+++ ntop.h Sat Aug 8 17:19:25 1998
@@ -16,9 +16,16 @@
#endif
#include <errno.h>
-#include "sn_curses.h"
+#ifdef HAVE_NCURSES_H
+#include <ncurses.h>
+#else
+#ifdef HAVE_CURSES_H
+#invlude <curses.h>
+#endif
+#endif
#include <ctype.h>
#include <sys/types.h>
+#include <sys/param.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/select.h>
@@ -38,7 +45,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <ethertype.h>
#include <setjmp.h>
#include <pcap.h>
|