kumquat-buildroot/package/linknx/linknx-missing-unistd.patch
Gregory Hermant 4deba5c3d9 linknx: new package
[Peter: add patch to fix build issue with gcc 4.7+]
[Thomas: various fixes/improvements]
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-31 21:52:44 +02:00

23 lines
689 B
Diff

[PATCH]: ioport.cpp: close(2) needs unistd.h
Fixed in upstream CVS:
http://linknx.cvs.sourceforge.net/viewvc/linknx/linknx/linknx/src/ioport.cpp?revision=1.20&view=markup
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
src/ioport.cpp | 1 +
1 file changed, 1 insertion(+)
Index: linknx-0.0.1.30/src/ioport.cpp
===================================================================
--- linknx-0.0.1.30.orig/src/ioport.cpp
+++ linknx-0.0.1.30/src/ioport.cpp
@@ -21,6 +21,7 @@
#include <iomanip>
#include "ioport.h"
#include <fcntl.h>
+#include <unistd.h>
Logger& IOPort::logger_m(Logger::getInstance("IOPort"));
Logger& RxThread::logger_m(Logger::getInstance("RxThread"));