-diff -ur tctool.old/src/Makefile tctool/src/Makefile
---- tctool.old/src/Makefile 2007-01-03 02:32:24.000000000 +0100
-+++ tctool/src/Makefile 2007-09-18 19:15:03.068155702 +0200
-@@ -31,16 +31,16 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -31,16 +31,16 @@ MAINOBJ := if.o interface.o etherStream
EXAMPLE := example
EXOBJ := if.o interface.o etherStream.o etherStreambuf.o tcStream.o tcStreambuf.o tcRtsDump.o tcRtsDumpbuf.o
--- /dev/null
+--- a/src/etherStreambuf.cpp
++++ b/src/etherStreambuf.cpp
+@@ -28,6 +28,7 @@
+ #include "etherStreambuf.h"
+
+ #include <stdio.h>
++#include <unistd.h>
+
+ namespace tc {
+ etherStreambuf::etherStreambuf() {
+--- a/src/tcStreambuf.cpp
++++ b/src/tcStreambuf.cpp
+@@ -30,6 +30,7 @@
+ // this is for the udp-part...
+ #include <netdb.h> // gethostbyname hostent
+ #include <arpa/inet.h> // inet_ntoa
++#include <unistd.h>
+
+ namespace tc {
+ char tcStreambuf::tcPktType::confirmation(char pktType) {