blob: 387b4741b04093ea2408d67d78e9c4c851da30ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- 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) {
|