summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/qnx.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hints/qnx.sh b/hints/qnx.sh
index e4469a176a..59eac07a27 100644
--- a/hints/qnx.sh
+++ b/hints/qnx.sh
@@ -253,6 +253,9 @@ else
# recognize that option, so we're better off setting cc=gcc.
cc='gcc'
+ # gcc uses $QNX_TARGET/usr/include as the include directory.
+ usrinc="$QNX_TARGET/usr/include"
+
# If we use perl's malloc, it dies with an invalid sbrk.
# This is probably worth tracking down someday.
usemymalloc='false'