summaryrefslogtreecommitdiffabout
authorqdii <qdii@reblochon.be>2012-11-02 13:49:03 (UTC)
committer Michael Krelin <hacker@klever.net>2012-11-02 13:49:03 (UTC)
commit648ae5dbd90e062f3432f809a846d50d994b86d4 (patch) (unidiff)
treed9cbb0276d9a51db9243449866f01828dba36ab7
parent824440e52ce8ddf1c45487d20d8996d08d0f96b5 (diff)
downloadlibopkele-648ae5dbd90e062f3432f809a846d50d994b86d4.zip
libopkele-648ae5dbd90e062f3432f809a846d50d994b86d4.tar.gz
libopkele-648ae5dbd90e062f3432f809a846d50d994b86d4.tar.bz2
Function _exit was referenced in the code, but <unistd.h> was not included, causing compilation to fail.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--test/idiscover.cc1
-rw-r--r--test/test.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/idiscover.cc b/test/idiscover.cc
index 4b1e90c..8a5a3fb 100644
--- a/test/idiscover.cc
+++ b/test/idiscover.cc
@@ -1,8 +1,9 @@
1#include <iostream> 1#include <iostream>
2#include <stdexcept> 2#include <stdexcept>
3#include <iterator> 3#include <iterator>
4#include <algorithm> 4#include <algorithm>
5#include <unistd.h>
5using namespace std; 6using namespace std;
6#include <opkele/exception.h> 7#include <opkele/exception.h>
7#include <opkele/discovery.h> 8#include <opkele/discovery.h>
8#include <opkele/util.h> 9#include <opkele/util.h>
diff --git a/test/test.cc b/test/test.cc
index 2143ac0..770e0c6 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -1,6 +1,7 @@
1#include <iostream> 1#include <iostream>
2#include <stdexcept> 2#include <stdexcept>
3#include <unistd.h>
3using namespace std; 4using namespace std;
4#include <opkele/exception.h> 5#include <opkele/exception.h>
5#include <opkele/util.h> 6#include <opkele/util.h>
6 7