summaryrefslogtreecommitdiff
path: root/net/tcpview/files/patch-tcpview.c
blob: c645851241937c033d1854dd64373076b5d9bc81 (plain) (blame)
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
--- tcpview.c.orig	1993-04-22 20:40:33 UTC
+++ tcpview.c
@@ -33,7 +33,7 @@
 
 #include <stdio.h>
 #include <sys/types.h>
-#include <sys/limits.h>
+#include <limits.h>
 #include  <X11/Xlib.h>
 #include  <X11/Intrinsic.h>
 #include  <X11/StringDefs.h>
@@ -155,13 +155,13 @@ static XtResource resources[] = {
 
 static XtResource resources[] = {
   { "hostnames", "Hostnames", XtRString, sizeof(String), 
-      XtOffset(params_ptr, hostnames), XtRString, "/usr/local/tcpview/hosts" },
+      XtOffset(params_ptr, hostnames), XtRString, "/usr/local/lib/tcpview/hosts" },
   { "manuf", "Manuf", XtRString, sizeof(String), 
-      XtOffset(params_ptr, manuf), XtRString, "/usr/local/tcpview/manuf" },
+      XtOffset(params_ptr, manuf), XtRString, "/usr/local/lib/tcpview/manuf" },
   { "services", "Services", XtRString, sizeof(String), 
       XtOffset(params_ptr, services), XtRString, "/etc/services" },
   { "filters", "Filters", XtRString, sizeof(String), 
-      XtOffset(params_ptr, filters), XtRString, "/usr/local/tcpview/filters" },
+      XtOffset(params_ptr, filters), XtRString, "/usr/local/lib/tcpview/filters" },
   { "viewer", "Viewer", XtRString, sizeof(String), 
       XtOffset(params_ptr, viewer), XtRString, "*" },
   { "printcommand", "Printcommand", XtRString, sizeof(String),