diff options
-rw-r--r-- | include/compat/string.h | 5 | ||||
-rw-r--r-- | 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 @@ | |||
18 | 18 | ||
19 | #include <sys/types.h> | 19 | #include <sys/types.h> |
20 | 20 | ||
21 | #if defined(__sun) || defined(__hpux) | 21 | #if defined(__sun) || defined(_AIX) || defined(__hpux) |
22 | /* Some functions historically defined in string.h were placed in strings.h by | 22 | /* Some functions historically defined in string.h were placed in strings.h by |
23 | * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris and HPUX. | 23 | * SUS. Use the same hack as OS X and FreeBSD use to work around on AIX, |
24 | * Solaris, and HPUX. | ||
24 | */ | 25 | */ |
25 | #include <strings.h> | 26 | #include <strings.h> |
26 | #endif | 27 | #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 @@ | |||
18 | 18 | ||
19 | #include <sys/types.h> | 19 | #include <sys/types.h> |
20 | 20 | ||
21 | #if defined(__sun) || defined(__hpux) | 21 | #if defined(__sun) || defined(_AIX) || defined(__hpux) |
22 | /* Some functions historically defined in string.h were placed in strings.h by | 22 | /* Some functions historically defined in string.h were placed in strings.h by |
23 | * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris and HPUX. | 23 | * SUS. Use the same hack as OS X and FreeBSD use to work around on AIX, |
24 | * Solaris, and HPUX. | ||
24 | */ | 25 | */ |
25 | #include <strings.h> | 26 | #include <strings.h> |
26 | #endif | 27 | #endif |