diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-25 20:39:41 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-25 20:39:41 +0000 |
commit | f2f554ea893c1326445c8546eca02c5e65c85e04 (patch) | |
tree | a3e2e599ce12612d3dee4b8692c03509a4ca0fa7 /misc | |
parent | 60d7c3aed3968f82f261c822e236427fc7242a15 (diff) | |
download | libapr-f2f554ea893c1326445c8546eca02c5e65c85e04.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: http://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 |