summaryrefslogtreecommitdiff
path: root/sgx/include4/sgxapi_km.h
diff options
context:
space:
mode:
Diffstat (limited to 'sgx/include4/sgxapi_km.h')
-rw-r--r--sgx/include4/sgxapi_km.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sgx/include4/sgxapi_km.h b/sgx/include4/sgxapi_km.h
index a0d8e5b..dcbafbf 100644
--- a/sgx/include4/sgxapi_km.h
+++ b/sgx/include4/sgxapi_km.h
@@ -33,7 +33,7 @@ extern "C" {
#include "sgxdefs.h"
-#if defined(__linux__) && !defined(USE_CODE)
+#if (defined(__linux__) || defined(__QNXNTO__)) && !defined(USE_CODE)
#if defined(__KERNEL__)
#include <asm/unistd.h>
#else