75097a215d
We were failing the build due to a missing prototype for close(). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39921 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
502 B
Diff
21 lines
502 B
Diff
--- 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) {
|