aboutsummaryrefslogtreecommitdiff
path: root/include/compat/string.h
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2016-01-03 18:56:24 -0600
committerBrent Cook <bcook@openbsd.org>2016-01-03 21:19:55 -0600
commit38c577d7587cac4b305dfa913029d9b750445700 (patch)
treebdc12f6330b9650399c4b0acef033cf69bb3d2f6 /include/compat/string.h
parent07056b29498bcc4b56dc19785e49307bc6179f00 (diff)
downloadportable-38c577d7587cac4b305dfa913029d9b750445700.tar.gz
portable-38c577d7587cac4b305dfa913029d9b750445700.tar.bz2
portable-38c577d7587cac4b305dfa913029d9b750445700.zip
include strings.h in string.h on AIX as well
Diffstat (limited to 'include/compat/string.h')
-rw-r--r--include/compat/string.h5
1 files changed, 3 insertions, 2 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