include strings.h in string.h on AIX as well

This commit is contained in:
Brent Cook 2016-01-03 18:56:24 -06:00
parent 07056b2949
commit 38c577d758
2 changed files with 6 additions and 4 deletions

View File

@ -18,9 +18,10 @@
#include <sys/types.h>
#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 <strings.h>
#endif

View File

@ -18,9 +18,10 @@
#include <sys/types.h>
#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 <strings.h>
#endif