From: Leandro Lucarella Date: Thu, 16 Apr 2009 23:35:38 +0000 (-0300) Subject: Add missing include X-Git-Tag: 1.0.1~2 X-Git-Url: https://git.llucax.com/software/eventxx.git/commitdiff_plain/6ed7a3484d5adf0d16a1a6ba59f5ab992b71457f Add missing include --- diff --git a/test/prio-test.cpp b/test/prio-test.cpp index 613d111..af5af5e 100644 --- a/test/prio-test.cpp +++ b/test/prio-test.cpp @@ -2,10 +2,12 @@ #include #include #include +#include using eventxx::dispatcher; -#define OSASSERT(func, ...) if (func(__VA_ARGS__) == -1) { perror(#func "()"); exit(1); } +#define OSASSERT(func, ...) \ + if (func(__VA_ARGS__) == -1) { perror(#func "()"); std::exit(1); } struct handler {