From 0a008a4d777924a3e3b1777c9842bef4fc350437 Mon Sep 17 00:00:00 2001 From: dtucker Date: Sun, 12 Jul 2009 11:56:29 +0000 Subject: [PATCH] - (dtucker) [configure.ac] Include sys/param.h for the sys/mount.h test, prevents configure complaining on older BSDs. --- ChangeLog | 4 ++++ configure.ac | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5e77f831..635bbd43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20090712 + - (dtucker) [configure.ac] Include sys/param.h for the sys/mount.h test, + prevents configure complaining on older BSDs. + 20090707 - (dtucker) [contrib/cygwin/ssh-host-config] better support for automated scripts and fix usage of eval. Patch from Corinna Vinschen. diff --git a/configure.ac b/configure.ac index b6c70e6a..4b065193 100644 --- a/configure.ac +++ b/configure.ac @@ -279,7 +279,6 @@ AC_CHECK_HEADERS( \ sys/cdefs.h \ sys/dir.h \ sys/mman.h \ - sys/mount.h \ sys/ndir.h \ sys/poll.h \ sys/prctl.h \ @@ -326,6 +325,11 @@ AC_CHECK_HEADERS(login_cap.h, [], [], [ #include ]) +# older BSDs need sys/param.h before sys/mount.h +AC_CHECK_HEADERS(sys/mount.h, [], [], [ +#include +]) + # Messages for features tested for in target-specific section SIA_MSG="no" SPC_MSG="no" -- 2.45.2