Skip to content

Commit

Permalink
Merge pull request #816 from mkondratov/master
Browse files Browse the repository at this point in the history
AIX Apache 2.4 adaptor
  • Loading branch information
darkv authored Feb 7, 2017
2 parents a7b57ba + ba8f814 commit cea44a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Utilities/Adaptors/Adaptor/appcfg.c
Original file line number Diff line number Diff line change
@@ -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').
Expand Down Expand Up @@ -49,6 +49,11 @@ and limitations under the License.
#include <sys/types.h>
#include <sys/stat.h>

#if defined(AIX)
#include <arpa/inet.h> /* inet_addr() */
#include <sys/param.h>
#endif

#ifndef MAXPATHLEN
#define MAXPATHLEN 255
#endif
Expand Down
4 changes: 2 additions & 2 deletions Utilities/Adaptors/Adaptor/listing.c
Original file line number Diff line number Diff line change
@@ -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').
Expand Down Expand Up @@ -39,7 +39,7 @@ and limitations under the License.
#include <stdio.h> /* sprintf() */
#include <stdlib.h>

#ifdef SOLARIS
#ifdef SOLARIS || defined(AIX)
#include <alloca.h>
#endif

Expand Down

0 comments on commit cea44a1

Please sign in to comment.