--- ./src/othptab.c.old 2005-09-13 08:42:54.000000000 +0200 +++ ./src/othptab.c 2006-06-06 13:17:03.000000000 +0200 @@ -17,9 +17,9 @@ ***/ #include <asm/types.h> -#include <linux/if_ether.h> -#include <linux/if_tr.h> -#include <linux/if_fddi.h> +#include <netinet/if_ether.h> +#include <netinet/if_tr.h> +#include <netinet/if_fddi.h> #include <winops.h> #include "arphdr.h" #include "options.h" --- ./src/Makefile.old 2006-06-06 13:36:40.000000000 +0200 +++ ./src/Makefile 2006-05-31 07:58:30.000000000 +0200 @@ -18,7 +18,7 @@ BINDIR = ../../iptraf-$(VERNUMBER).bin.$(ARCH) CC = gcc -LIBS = -L../support -ltextbox -lpanel -lncurses # in this order! +LIBS = -L../support -ltextbox -lpanelw -lncursesw # in this order! # comment this one out to omit debug code when done. @@ -39,7 +39,7 @@ # you may want to change this to point to your ncurses include directory # if the ncurses include files are not in the default location. -INCLUDEDIR = -I/usr/include/ncurses -I../support +INCLUDEDIR = -I/usr/include/ncursesw -I../support # You can uncomment this one to disable the backspace key in input fields. # This means you must use the Del key or Ctrl+H combination to erase the @@ -162,7 +162,7 @@ # and the compiled programs for release as a ready-to-run distribution. dist-bin: all - $(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) -L../support -ltextbox /usr/lib/libpanel.a /usr/lib/libncurses.a + $(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) -L../support -ltextbox /usr/lib/libpanelw.a /usr/lib/libncursesw.a rm -rf $(BINDIR) mkdir $(BINDIR) /bin/cp -p ../CHANGES ../LICENSE ../FAQ ../INSTALL ../README* \ @@ -178,7 +178,7 @@ # Just in case anyone needs to link a static binary # static: $(OBJS) - $(CC) -static $(PROC) -o iptraf $(OBJS) ../support/libtextbox.a -lpanel -lncurses + $(CC) -static $(PROC) -o iptraf $(OBJS) ../support/libtextbox.a -lpanelw -lncursesw $(CC) -static -o rvnamed rvnamed.o getpath.o $(CC) -static -o rawtime rawtime.c --- ./src/tcptable.h.old 2005-09-13 08:42:54.000000000 +0200 +++ ./src/tcptable.h 2006-06-06 13:40:24.000000000 +0200 @@ -10,7 +10,7 @@ #include <string.h> #include <unistd.h> #include <fcntl.h> -#include <curses.h> +#include <ncurses.h> #include <panel.h> #include <netdb.h> #include <time.h> @@ -22,8 +22,8 @@ #include <asm/types.h> #include <linux/if_packet.h> #include <linux/if_ether.h> -#include <linux/if_fddi.h> -#include <linux/if_tr.h> +#include <netinet/if_fddi.h> +#include <netinet/if_tr.h> #include <net/if.h> #include <netinet/ip.h> #include <netinet/udp.h> --- iptraf-3.0.0/src/tr.c.old 2006-06-07 10:47:27.000000000 +0200 +++ iptraf-3.0.0/src/tr.c 2006-06-07 10:38:20.000000000 +0200 @@ -7,7 +7,7 @@ */ #include <asm/types.h> -#include <linux/if_tr.h> +#include <netinet/if_tr.h> #include <netinet/in.h> unsigned int get_tr_ip_offset(unsigned char *pkt)