summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>2014-06-25 18:08:22 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-07-06 08:41:07 -0700
commit25f1134b4a2bd8018f153158cfc7c9ae255b5d6e (patch)
tree4cdd28b7a3ac29346c6f6f0a88d6fb34d2c96f2a
parent068fd2cb19b6c0434f63b427158506e2ec3c6206 (diff)
downloadxorg-proto-x11proto-25f1134b4a2bd8018f153158cfc7c9ae255b5d6e.tar.gz
Bug #80528: make it build on AIX
https://bugs.freedesktop.org/show_bug.cgi?id=80528 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--Xfuncs.h4
-rw-r--r--Xos.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Xfuncs.h b/Xfuncs.h
index 2bcf991..469bb48 100644
--- a/Xfuncs.h
+++ b/Xfuncs.h
@@ -37,14 +37,14 @@ void bcopy();
void bzero();
int bcmp();
# else
-# if defined(SYSV) && !defined(__SCO__) && !defined(__sun) && !defined(__UNIXWARE__)
+# if defined(SYSV) && !defined(__SCO__) && !defined(__sun) && !defined(__UNIXWARE__) && !defined(_AIX)
# include <memory.h>
void bcopy();
# define bzero(b,len) memset(b, 0, len)
# define bcmp(b1,b2,len) memcmp(b1, b2, len)
# else
# include <string.h>
-# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__)
+# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX)
# include <strings.h>
# endif
# define _XFUNCS_H_INCLUDED_STRING_H
diff --git a/Xos.h b/Xos.h
index 044d22b..7e53946 100644
--- a/Xos.h
+++ b/Xos.h
@@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group.
*/
# include <string.h>
-# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__)
+# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX)
# include <strings.h>
# else
# ifndef index