Patch #1722225: Support QNX 6.
diff --git a/setup.py b/setup.py
index 4663cec..79ad5aa 100644
--- a/setup.py
+++ b/setup.py
@@ -1009,7 +1009,7 @@
                 missing.append('resource')
 
             # Sun yellow pages. Some systems have the functions in libc.
-            if platform not in ['cygwin', 'atheos']:
+            if platform not in ['cygwin', 'atheos', 'qnx6']:
                 if (self.compiler.find_library_file(lib_dirs, 'nsl')):
                     libs = ['nsl']
                 else: