Branch oldpackages for 14.07
[14.07/packages.git] / net / tctool / patches / 006-fix_close_declaration.patch
1 --- a/src/etherStreambuf.cpp
2 +++ b/src/etherStreambuf.cpp
3 @@ -28,6 +28,7 @@
4  #include "etherStreambuf.h"
5  
6  #include <stdio.h>
7 +#include <unistd.h>
8  
9  namespace tc {
10     etherStreambuf::etherStreambuf() {
11 --- a/src/tcStreambuf.cpp
12 +++ b/src/tcStreambuf.cpp
13 @@ -30,6 +30,7 @@
14  // this is for the udp-part...
15  #include <netdb.h>         // gethostbyname hostent
16  #include <arpa/inet.h>     // inet_ntoa
17 +#include <unistd.h>
18  
19  namespace tc {
20     char tcStreambuf::tcPktType::confirmation(char pktType) {