summaryrefslogtreecommitdiff
path: root/src/components/utils/include
diff options
context:
space:
mode:
authorAndriy Kozoriz <AKozoriz@luxoft.com>2016-02-12 18:00:25 +0200
committerKozoriz <kozorizandriy@gmail.com>2016-02-17 10:16:16 +0200
commit0bc55c8bf92fca0d4d65304b6733397b07d4a197 (patch)
tree4f7dfedc1eb88b9e9f2b75bcab86672795885632 /src/components/utils/include
parenteb541f40016562236af78c6bb611bdc766b00c1d (diff)
downloadsdl_core-0bc55c8bf92fca0d4d65304b6733397b07d4a197.tar.gz
Small correctives.
Diffstat (limited to 'src/components/utils/include')
-rw-r--r--src/components/utils/include/utils/timer.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/components/utils/include/utils/timer.h b/src/components/utils/include/utils/timer.h
index 90f942acd2..cbce920e4a 100644
--- a/src/components/utils/include/utils/timer.h
+++ b/src/components/utils/include/utils/timer.h
@@ -34,7 +34,14 @@
#define SRC_COMPONENTS_UTILS_INCLUDE_UTILS_TIMER_H_
#include <stdint.h>
+
+#ifdef __QNX__
+#include <sys/siginfo.h>
+#else
#include <signal.h>
+typedef sigval_t sigval;
+#endif
+
#include <time.h>
#include <string>
@@ -113,10 +120,10 @@ class Timer {
bool StopUnsafe();
/**
- * @brief alone function which sends to posix_timer as calle
- * @param signal_value - structure with parameters of posix_timer calle
+ * @brief alone function which sends to posix_timer as callee
+ * @param signal_value - structure with parameters of posix_timer callee
*/
- friend void HandlePosixTimer(sigval_t signal_value);
+ friend void HandlePosixTimer(sigval signal_value);
DISALLOW_COPY_AND_ASSIGN(Timer);
};