]> granicus.if.org Git - mutt/commitdiff
Some more QNX compiling aides.
authorThomas Roessler <roessler@does-not-exist.org>
Sat, 22 Jul 2000 09:01:43 +0000 (09:01 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sat, 22 Jul 2000 09:01:43 +0000 (09:01 +0000)
configure.in
mutt.h

index 9954804be4faf20188c6f4048fc3b4b72056e3b6..0a6011b5a07ec96d4076f1407bfa75bed01c81ae 100644 (file)
@@ -201,6 +201,7 @@ AC_HEADER_STDC
 
 AC_CHECK_HEADERS(stdarg.h sys/ioctl.h sysexits.h)
 AC_CHECK_HEADERS(sys/time.h sys/resource.h)
+AC_CHECK_HEADERS(unix.h)
 
 AC_CHECK_FUNCS(setrlimit)
 
diff --git a/mutt.h b/mutt.h
index 41c11b15138fbcebed80c643a0b29add36da4084..c0099fe30f32df0392ae74b01d88aa65f74880df 100644 (file)
--- a/mutt.h
+++ b/mutt.h
@@ -23,6 +23,9 @@
 #ifdef HAVE_UNISTD_H
 # include <unistd.h> /* needed for SEEK_SET */
 #endif
+#ifdef HAVE_UNIX_H
+# include <unix.h>   /* needed for snprintf on QNX. */
+#endif
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <time.h>