summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2013-03-21 18:05:11 +0100
committerRALOVICH, Kristóf <tade60@freemail.hu>2013-03-21 18:05:11 +0100
commit88d834a858a16750011eb8fce7867286b4eaa442 (patch)
tree1a2aa35047cd64d2f3b98d8c2cd4dddf01fbb50f /src
parentc3fa44eb6d21620ceb213342c31a702aadd7bbc4 (diff)
fix build with clang 3.0
/home/tade/dev/antpm/src/AntChannel.cpp:251:7: error: use of undeclared identifier 'printf' CHECK_RETURN_FALSE(waitForBursts(msgs, left_ms)); ^ /home/tade/dev/antpm/src/./common.hpp:19:47: note: expanded from: #define CHECK_RETURN_FALSE(x) do { if(!(x)) { printf("E: %s\n", #x); return false; } /*else { printf("ok: %s\n", #x); }*/ } while(0) ^
Diffstat (limited to 'src')
-rw-r--r--src/AntChannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AntChannel.cpp b/src/AntChannel.cpp
index 51c6eb8..c24c0ae 100644
--- a/src/AntChannel.cpp
+++ b/src/AntChannel.cpp
@@ -13,7 +13,7 @@
#include "AntChannel.hpp"
-
+#include <cstdio>