]> Dogcows Code - chaz/tar/commitdiff
Fixed prerequisite headers for sys/buf.h (needed on FreeBSD)
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 10 May 2004 13:47:52 +0000 (13:47 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 10 May 2004 13:47:52 +0000 (13:47 +0000)
configure.ac
src/system.h

index d1f070bc4aa8aa5e4c308496bc473e298cd9a838..d179573302cc1b8e2ba5bcbdb0653a7d4315b607 100644 (file)
@@ -36,11 +36,16 @@ AC_C_INLINE
 
 AC_CHECK_HEADERS(fcntl.h linux/fd.h memory.h net/errno.h \
   sgtty.h string.h \
-  sys/buf.h sys/device.h sys/gentape.h \
+  sys/param.h sys/device.h sys/gentape.h \
   sys/inet.h sys/io/trioctl.h \
   sys/mtio.h sys/time.h sys/tprintf.h sys/tape.h \
   unistd.h)
 
+AC_CHECK_HEADERS([sys/buf.h], [], [],
+[#if HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif])
+
 AC_HEADER_SYS_WAIT
 AM_STDBOOL_H
 
index d82e8cd38e7dad94420110dc200823dd44caaa18..a710e1320faec14a576f18719c6821f5b68ab425 100644 (file)
@@ -393,6 +393,9 @@ extern int errno;
 #  if HAVE_SYS_DEVICE_H
 #   include <sys/device.h>
 #  endif
+#  if HAVE_SYS_PARAM_H
+#   include <sys/param.h>
+#  endif
 #  if HAVE_SYS_BUF_H
 #   include <sys/buf.h>
 #  endif
This page took 0.025764 seconds and 4 git commands to generate.