gregames 2002/06/27 10:47:30
Modified: . configure.in
file_io/unix dir.c fileacc.c filestat.c
include apr.h.in
Log:
get APR closer to building on FreeBSD 4.6-STABLE
Revision Changes Path
1.457 +1 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.456
retrieving revision 1.457
diff -u -r1.456 -r1.457
--- configure.in 23 Jun 2002 07:59:52 -0000 1.456
+++ configure.in 27 Jun 2002 17:47:30 -0000 1.457
@@ -979,6 +979,7 @@
AC_SUBST(sys_sendfileh)
AC_SUBST(sys_signalh)
AC_SUBST(sys_socketh)
+AC_SUBST(sys_stath)
AC_SUBST(sys_typesh)
AC_SUBST(sys_timeh)
AC_SUBST(sys_uioh)
1.63 +3 -0 apr/file_io/unix/dir.c
Index: dir.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/dir.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- dir.c 23 Jun 2002 21:31:48 -0000 1.62
+++ dir.c 27 Jun 2002 17:47:30 -0000 1.63
@@ -58,6 +58,9 @@
#if APR_HAVE_SYS_SYSLIMITS_H
#include <sys/syslimits.h>
#endif
+#if APR_HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
#if APR_HAVE_LIMITS_H
#include <limits.h>
#endif
1.52 +3 -0 apr/file_io/unix/fileacc.c
Index: fileacc.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/fileacc.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- fileacc.c 20 Mar 2002 08:54:42 -0000 1.51
+++ fileacc.c 27 Jun 2002 17:47:30 -0000 1.52
@@ -54,6 +54,9 @@
#include "apr_strings.h"
#include "fileio.h"
+#if APR_HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
/* A file to put ALL of the accessor functions for apr_file_t types. */
1.55 +3 -0 apr/file_io/unix/filestat.c
Index: filestat.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/filestat.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- filestat.c 20 Mar 2002 08:54:42 -0000 1.54
+++ filestat.c 27 Jun 2002 17:47:30 -0000 1.55
@@ -57,6 +57,9 @@
#include "apr_general.h"
#include "apr_strings.h"
#include "apr_errno.h"
+#if APR_HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
static apr_filetype_e filetype_from_mode(mode_t mode)
{
1.109 +1 -0 apr/include/apr.h.in
Index: apr.h.in
===================================================================
RCS file: /home/cvs/apr/include/apr.h.in,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- apr.h.in 7 May 2002 04:12:44 -0000 1.108
+++ apr.h.in 27 Jun 2002 17:47:30 -0000 1.109
@@ -56,6 +56,7 @@
#define APR_HAVE_SYS_SENDFILE_H @sys_sendfileh@
#define APR_HAVE_SYS_SIGNAL_H @sys_signalh@
#define APR_HAVE_SYS_SOCKET_H @sys_socketh@
+#define APR_HAVE_SYS_STAT_H @sys_stath@
#define APR_HAVE_SYS_SYSLIMITS_H @sys_syslimitsh@
#define APR_HAVE_SYS_TIME_H @sys_timeh@
#define APR_HAVE_SYS_TYPES_H @sys_typesh@
|