unbreak: use the correct macro

This commit is contained in:
naddy 2003-10-30 21:08:25 +00:00
parent be0e39adb3
commit f558b1a04c

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_ac,v 1.1 2003/10/25 22:50:24 brad Exp $
$OpenBSD: patch-configure_ac,v 1.2 2003/10/30 21:08:25 naddy Exp $
--- configure.ac.orig 2003-10-13 15:23:01.000000000 -0400
+++ configure.ac 2003-10-25 18:40:42.000000000 -0400
@@ -56,7 +56,13 @@ AC_CHECK_HEADERS(unistd.h string.h strin
@ -8,7 +8,7 @@ $OpenBSD: patch-configure_ac,v 1.1 2003/10/25 22:50:24 brad Exp $
-AC_CHECK_HEADERS(netinet/in_systm.h netinet/in.h sys/mount.h sys/pstat.h)
+AC_CHECK_HEADERS(netinet/in_systm.h netinet/in.h sys/pstat.h)
+
+AC_CHECK_HEADER(sys/mount.h, [], [],
+AC_CHECK_HEADERS(sys/mount.h, [], [],
+[#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif])