From: Matt Kraai <kraai@ftbfs.org>
Date: Thu, 15 Nov 2007 15:01:34 +0000 (-0800)
Subject: Fix build failure on QNX
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=27e6e01425c10b00199135fead7e37567cc0f4b3;p=p5sagit%2Fp5-mst-13.2.git

Fix build failure on QNX
Message-ID: <20071115230134.GA4032@ftbfs.org>

p4raw-id: //depot/perl@32332
---

diff --git a/hints/qnx.sh b/hints/qnx.sh
index e4469a1..59eac07 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'