From 38c577d7587cac4b305dfa913029d9b750445700 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 3 Jan 2016 18:56:24 -0600 Subject: [PATCH] include strings.h in string.h on AIX as well --- include/compat/string.h | 5 +++-- libtls-standalone/include/string.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/include/compat/string.h b/include/compat/string.h index f0a0711..4bf7519 100644 --- a/include/compat/string.h +++ b/include/compat/string.h @@ -18,9 +18,10 @@ #include -#if defined(__sun) || defined(__hpux) +#if defined(__sun) || defined(_AIX) || defined(__hpux) /* Some functions historically defined in string.h were placed in strings.h by - * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris and HPUX. + * SUS. Use the same hack as OS X and FreeBSD use to work around on AIX, + * Solaris, and HPUX. */ #include #endif diff --git a/libtls-standalone/include/string.h b/libtls-standalone/include/string.h index f0a0711..4bf7519 100644 --- a/libtls-standalone/include/string.h +++ b/libtls-standalone/include/string.h @@ -18,9 +18,10 @@ #include -#if defined(__sun) || defined(__hpux) +#if defined(__sun) || defined(_AIX) || defined(__hpux) /* Some functions historically defined in string.h were placed in strings.h by - * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris and HPUX. + * SUS. Use the same hack as OS X and FreeBSD use to work around on AIX, + * Solaris, and HPUX. */ #include #endif