4deba5c3d9
[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>
23 lines
689 B
Diff
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"));
|