apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apr/dso/unix dso.c
Date Mon, 27 Nov 2000 19:13:20 GMT
trawick     00/11/27 11:13:18

  Modified:    .        configure.in
               strings  apr_strings.c
               dso/unix dso.c
  Log:
  Get NULL defined on some systems (e.g., FreeBSD 3.4).
  
  Revision  Changes    Path
  1.174     +1 -0      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.173
  retrieving revision 1.174
  diff -u -r1.173 -r1.174
  --- configure.in	2000/11/16 19:21:37	1.173
  +++ configure.in	2000/11/27 19:13:00	1.174
  @@ -272,6 +272,7 @@
   AC_CHECK_HEADERS(sys/sem.h)
   AC_CHECK_HEADERS(signal.h, signalh="1", signalh="0")
   AC_CHECK_HEADERS(stdarg.h, stdargh="1", stdargh="0")
  +AC_CHECK_HEADERS(stddef.h)
   AC_CHECK_HEADERS(stdio.h, stdioh="1", stdioh"0")
   AC_CHECK_HEADERS(stdlib.h)
   AC_CHECK_HEADERS(string.h)
  
  
  
  1.4       +3 -0      apr/strings/apr_strings.c
  
  Index: apr_strings.c
  ===================================================================
  RCS file: /home/cvs/apr/strings/apr_strings.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apr_strings.c	2000/10/16 06:04:49	1.3
  +++ apr_strings.c	2000/11/27 19:13:10	1.4
  @@ -56,6 +56,9 @@
   #include "apr_strings.h"
   #include "apr_private.h"
   #include "apr_lib.h"
  +#ifdef HAVE_STDDEF_H
  +#include <stddef.h> /* NULL */
  +#endif
   
   APR_DECLARE(char *) apr_pstrdup(apr_pool_t *a, const char *s)
   {
  
  
  
  1.25      +4 -0      apr/dso/unix/dso.c
  
  Index: dso.c
  ===================================================================
  RCS file: /home/cvs/apr/dso/unix/dso.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- dso.c	2000/11/09 06:08:36	1.24
  +++ dso.c	2000/11/27 19:13:15	1.25
  @@ -56,6 +56,10 @@
   
   #if APR_HAS_DSO
   
  +#ifdef HAVE_STDDEF_H
  +#include <stddef.h>
  +#endif
  +
   apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, 
                           apr_pool_t *ctx)
   {
  
  
  

Mime
View raw message