apr_want.h

Go to the documentation of this file.
00001 /* Licensed to the Apache Software Foundation (ASF) under one or more
00002  * contributor license agreements.  See the NOTICE file distributed with
00003  * this work for additional information regarding copyright ownership.
00004  * The ASF licenses this file to You under the Apache License, Version 2.0
00005  * (the "License"); you may not use this file except in compliance with
00006  * the License.  You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #include "apr.h"        /* configuration data */
00044 /* --------------------------------------------------------------------- */
00045 
00046 #ifdef APR_WANT_STRFUNC
00047 
00048 #if APR_HAVE_STRING_H
00049 #include <string.h>
00050 #endif
00051 #if APR_HAVE_STRINGS_H
00052 #include <strings.h>
00053 #endif
00054 
00055 #undef APR_WANT_STRFUNC
00056 #endif
00057 
00058 /* --------------------------------------------------------------------- */
00059 
00060 #ifdef APR_WANT_MEMFUNC
00061 
00062 #if APR_HAVE_STRING_H
00063 #include <string.h>
00064 #endif
00065 
00066 #undef APR_WANT_MEMFUNC
00067 #endif
00068 
00069 /* --------------------------------------------------------------------- */
00070 
00071 #ifdef APR_WANT_STDIO
00072 
00073 #if APR_HAVE_STDIO_H
00074 #include <stdio.h>
00075 #endif
00076 
00077 #undef APR_WANT_STDIO
00078 #endif
00079 
00080 /* --------------------------------------------------------------------- */
00081 
00082 #ifdef APR_WANT_IOVEC
00083 
00084 #if APR_HAVE_SYS_UIO_H
00085 #include <sys/uio.h>
00086 #endif
00087 
00088 #undef APR_WANT_IOVEC
00089 #endif
00090 
00091 /* --------------------------------------------------------------------- */
00092 
00093 #ifdef APR_WANT_BYTEFUNC
00094 
00095 /* Single Unix says they are in arpa/inet.h.  Linux has them in
00096  * netinet/in.h.  FreeBSD has them in arpa/inet.h but requires that
00097  * netinet/in.h be included first.
00098  */
00099 #if APR_HAVE_NETINET_IN_H
00100 #include <netinet/in.h>
00101 #endif
00102 #if APR_HAVE_ARPA_INET_H
00103 #include <arpa/inet.h>
00104 #endif
00105 
00106 #undef APR_WANT_BYTEFUNC
00107 #endif
00108 
00109 /* --------------------------------------------------------------------- */

Generated on Mon Nov 26 11:47:26 2007 for Apache Portable Runtime by  doxygen 1.5.2