From: Andrew Tridgell Date: Sun, 30 Jun 1996 04:42:04 +0000 (+0000) Subject: new header tests for sunos X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/d7b305fd9116056f4b5b9f96d9b4c51ed7d2ac60 new header tests for sunos --- diff --git a/configure.in b/configure.in index 46ab1683..d1cf31d6 100644 --- a/configure.in +++ b/configure.in @@ -8,12 +8,11 @@ AC_PROG_INSTALL AC_SUBST(SHELL) AC_HEADER_DIRENT -AC_HEADER_STDC AC_HEADER_TIME AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(sys/fcntl.h fcntl.h sys/time.h unistd.h utime.h grp.h) AC_CHECK_HEADERS(compat.h sys/param.h ctype.h sys/wait.h sys/ioctl.h) -AC_CHECK_HEADERS(sys/filio.h) +AC_CHECK_HEADERS(sys/filio.h string.h stdlib.h) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) diff --git a/rsync.h b/rsync.h index 98d801c9..e27fd4fa 100644 --- a/rsync.h +++ b/rsync.h @@ -60,9 +60,12 @@ #include #endif -#ifdef STDC_HEADERS -# include -# include +#ifdef HAVE_STDLIB_H +#include +#endif + +#ifdef HAVE_STRING_H +#include #endif #ifdef HAVE_COMPAT_H