From: Thomas Roessler Date: Sat, 22 Jul 2000 09:01:43 +0000 (+0000) Subject: Some more QNX compiling aides. X-Git-Tag: mutt-1-3-6-rel~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5704d735421015d65f8c7f9f5cfaea45bb3bd686;p=mutt Some more QNX compiling aides. --- 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