diff --git a/configure.ac b/configure.ac index 5f9874d1..cda7b11f 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ define(RELEASE_NUM, 72) define(CDIO_VERSION_STR, 0.$1rc1) AC_PREREQ(2.52) -AC_REVISION([$Id: configure.ac,v 1.132 2005/01/27 03:13:29 rocky Exp $])dnl +AC_REVISION([$Id: configure.ac,v 1.133 2005/01/27 04:54:26 rocky Exp $])dnl AC_INIT(libcdio, CDIO_VERSION_STR(RELEASE_NUM)) AC_CONFIG_SRCDIR(src/cd-info.c) AM_INIT_AUTOMAKE @@ -152,7 +152,7 @@ dnl headers AC_HEADER_STDC AC_CHECK_HEADERS(errno.h fcntl.h glob.h) -AC_CHECK_HEADERS(stdarg.h stdbool.h stdio.h sys/cdio.h) +AC_CHECK_HEADERS(stdarg.h stdbool.h stdio.h sys/cdio.h sys/param.h) AC_SUBST(SBPCD_H) AC_SUBST(UCDROM_H) diff --git a/lib/driver/FreeBSD/freebsd.c b/lib/driver/FreeBSD/freebsd.c index 825650a9..bb0774d4 100644 --- a/lib/driver/FreeBSD/freebsd.c +++ b/lib/driver/FreeBSD/freebsd.c @@ -1,5 +1,5 @@ /* - $Id: freebsd.c,v 1.13 2005/01/27 04:00:48 rocky Exp $ + $Id: freebsd.c,v 1.14 2005/01/27 04:54:27 rocky Exp $ Copyright (C) 2003, 2004, 2005 Rocky Bernstein @@ -27,12 +27,16 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: freebsd.c,v 1.13 2005/01/27 04:00:48 rocky Exp $"; +static const char _rcsid[] = "$Id: freebsd.c,v 1.14 2005/01/27 04:54:27 rocky Exp $"; #include "freebsd.h" #ifdef HAVE_FREEBSD_CDROM +#ifdef HAVE_SYS_PARAM_H +#include +#endif + #include static access_mode_t