From ba8f814fe58b6601c4f8c69c3a7bbf9486f02529 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 7 Feb 2017 12:51:02 -0500 Subject: [PATCH] AIX Apache 2.4 adaptor --- Utilities/Adaptors/Adaptor/appcfg.c | 7 ++++++- Utilities/Adaptors/Adaptor/listing.c | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Utilities/Adaptors/Adaptor/appcfg.c b/Utilities/Adaptors/Adaptor/appcfg.c index e72b952b23b..fd8bbb37b99 100644 --- a/Utilities/Adaptors/Adaptor/appcfg.c +++ b/Utilities/Adaptors/Adaptor/appcfg.c @@ -1,6 +1,6 @@ /* -Copyright © 2000-2007 Apple, Inc. All Rights Reserved. +Copyright � 2000-2007 Apple, Inc. All Rights Reserved. The contents of this file constitute Original Code as defined in and are subject to the Apple Public Source License Version 1.1 (the 'License'). @@ -49,6 +49,11 @@ and limitations under the License. #include #include +#if defined(AIX) +#include /* inet_addr() */ +#include +#endif + #ifndef MAXPATHLEN #define MAXPATHLEN 255 #endif diff --git a/Utilities/Adaptors/Adaptor/listing.c b/Utilities/Adaptors/Adaptor/listing.c index 45141d4e8a6..208211fce53 100644 --- a/Utilities/Adaptors/Adaptor/listing.c +++ b/Utilities/Adaptors/Adaptor/listing.c @@ -1,6 +1,6 @@ /* -Copyright © 2000-2007 Apple, Inc. All Rights Reserved. +Copyright � 2000-2007 Apple, Inc. All Rights Reserved. The contents of this file constitute Original Code as defined in and are subject to the Apple Public Source License Version 1.1 (the 'License'). @@ -39,7 +39,7 @@ and limitations under the License. #include /* sprintf() */ #include -#ifdef SOLARIS +#ifdef SOLARIS || defined(AIX) #include #endif