From 5704d735421015d65f8c7f9f5cfaea45bb3bd686 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Sat, 22 Jul 2000 09:01:43 +0000 Subject: [PATCH] Some more QNX compiling aides. --- configure.in | 1 + mutt.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 9954804b..0a6011b5 100644 --- a/configure.in +++ b/configure.in @@ -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 41c11b15..c0099fe3 100644 --- a/mutt.h +++ b/mutt.h @@ -23,6 +23,9 @@ #ifdef HAVE_UNISTD_H # include /* needed for SEEK_SET */ #endif +#ifdef HAVE_UNIX_H +# include /* needed for snprintf on QNX. */ +#endif #include #include #include -- 2.40.0