From cvs-return-4813-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Tue Mar 04 00:06:35 2003 Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 74602 invoked by uid 500); 4 Mar 2003 00:06:34 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 74557 invoked from network); 4 Mar 2003 00:06:34 -0000 Date: 4 Mar 2003 00:06:33 -0000 Message-ID: <20030304000633.98692.qmail@icarus.apache.org> From: bnicholes@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/misc/unix otherchild.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bnicholes 2003/03/03 16:06:33 Modified: include apr_thread_proc.h misc/unix otherchild.c Log: Even if the build doesn't support OTHER_CHILD functionality, we still need the definitions and typedef's since the function stubs require them. Revision Changes Path 1.96 +0 -2 apr/include/apr_thread_proc.h Index: apr_thread_proc.h =================================================================== RCS file: /home/cvs/apr/include/apr_thread_proc.h,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- apr_thread_proc.h 3 Mar 2003 20:54:50 -0000 1.95 +++ apr_thread_proc.h 4 Mar 2003 00:06:33 -0000 1.96 @@ -130,7 +130,6 @@ /** @see apr_procattr_limit_set */ #define APR_LIMIT_NOFILE 3 -#if APR_HAS_OTHER_CHILD || defined(DOXYGEN) /** * @defgroup Other_Child Other Child Flags * @{ @@ -152,7 +151,6 @@ * this is a no-op. */ /** @} */ -#endif /* APR_HAS_OTHER_CHILD */ /** @see apr_proc_t */ typedef struct apr_proc_t apr_proc_t; 1.35 +3 -3 apr/misc/unix/otherchild.c Index: otherchild.c =================================================================== RCS file: /home/cvs/apr/misc/unix/otherchild.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- otherchild.c 25 Feb 2003 01:11:10 -0000 1.34 +++ otherchild.c 4 Mar 2003 00:06:33 -0000 1.35 @@ -53,12 +53,12 @@ */ #include "apr.h" - -#if APR_HAS_OTHER_CHILD - #include "apr_arch_misc.h" #include "apr_arch_threadproc.h" #include "apr_arch_file_io.h" + +#if APR_HAS_OTHER_CHILD + #ifdef HAVE_TIME_H #include #endif