diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-02-25 20:39:41 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-02-25 20:39:41 +0000 |
commit | f89feca4d20956d9232712f1febb5cb10156ba42 (patch) | |
tree | a3e2e599ce12612d3dee4b8692c03509a4ca0fa7 /misc | |
parent | 65e1cc33ee39faf300e63315a649d275054a683a (diff) | |
download | apr-f89feca4d20956d9232712f1febb5cb10156ba42.tar.gz |
Fix the hosed #ifdef APR_HAVE_FOO_H tests, the #if HAVE_ tests, and
also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r-- | misc/unix/errorcodes.c | 2 | ||||
-rw-r--r-- | misc/unix/getuuid.c | 2 | ||||
-rw-r--r-- | misc/unix/rand.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/misc/unix/errorcodes.c b/misc/unix/errorcodes.c index 785bf94f8..5a7fcf6c6 100644 --- a/misc/unix/errorcodes.c +++ b/misc/unix/errorcodes.c @@ -57,7 +57,7 @@ #include "apr_lib.h" #include "apr_dso.h" -#ifdef HAVE_NETDB_H +#if APR_HAVE_NETDB_H #include <netdb.h> #endif #ifdef HAVE_DLFCN_H diff --git a/misc/unix/getuuid.c b/misc/unix/getuuid.c index f43c99c21..3d8f72cdd 100644 --- a/misc/unix/getuuid.c +++ b/misc/unix/getuuid.c @@ -72,7 +72,7 @@ #if APR_HAVE_STRINGS_H #include <strings.h> #endif -#ifdef HAVE_NETDB_H +#if APR_HAVE_NETDB_H #include <netdb.h> #endif diff --git a/misc/unix/rand.c b/misc/unix/rand.c index 71778c6fd..6f1d77309 100644 --- a/misc/unix/rand.c +++ b/misc/unix/rand.c @@ -56,7 +56,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -#ifdef HAVE_UNISTD_H +#if APR_HAVE_UNISTD_H #include <unistd.h> #endif |