summaryrefslogtreecommitdiff
path: root/sgx/tools/intern
diff options
context:
space:
mode:
Diffstat (limited to 'sgx/tools/intern')
-rw-r--r--sgx/tools/intern/debug/dbgdriv/common/dbgdriv.c3
-rw-r--r--sgx/tools/intern/debug/dbgdriv/common/hotkey.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/sgx/tools/intern/debug/dbgdriv/common/dbgdriv.c b/sgx/tools/intern/debug/dbgdriv/common/dbgdriv.c
index 386aca4..4bf93d0 100644
--- a/sgx/tools/intern/debug/dbgdriv/common/dbgdriv.c
+++ b/sgx/tools/intern/debug/dbgdriv/common/dbgdriv.c
@@ -28,6 +28,9 @@
#ifdef LINUX
#include <linux/string.h>
#endif
+#ifdef __QNXNTO__
+#include <string.h>
+#endif
#include "img_types.h"
#include "pvr_debug.h"
diff --git a/sgx/tools/intern/debug/dbgdriv/common/hotkey.c b/sgx/tools/intern/debug/dbgdriv/common/hotkey.c
index a456fee..62c89e3 100644
--- a/sgx/tools/intern/debug/dbgdriv/common/hotkey.c
+++ b/sgx/tools/intern/debug/dbgdriv/common/hotkey.c
@@ -25,7 +25,7 @@
******************************************************************************/
-#if !defined(LINUX)
+#if (!defined(LINUX) && !defined(__QNXNTO__))
#include <ntddk.h>
#include <windef.h>
#endif