include strings.h in string.h on AIX as well
This commit is contained in:
parent
07056b2949
commit
38c577d758
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user