diff options
| author | kinichiro <kinichiro.inoguchi@gmail.com> | 2014-10-22 15:47:31 +0900 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2014-10-22 12:45:01 -0500 |
| commit | a91d1013cfb08ae17136f5ee412f5fb670199834 (patch) | |
| tree | c7f3c217eb8d6b8acee6d4782cbd1b265205bc28 /include | |
| parent | 54259e50a5241d8cc82824fa0f0711eef36ec9f5 (diff) | |
| download | portable-a91d1013cfb08ae17136f5ee412f5fb670199834.tar.gz portable-a91d1013cfb08ae17136f5ee412f5fb670199834.tar.bz2 portable-a91d1013cfb08ae17136f5ee412f5fb670199834.zip | |
update string.h for include strings.h for HPUX environment
Diffstat (limited to 'include')
| -rw-r--r-- | include/string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h index ab232a8..f092477 100644 --- a/include/string.h +++ b/include/string.h | |||
| @@ -5,9 +5,9 @@ | |||
| 5 | 5 | ||
| 6 | #include <sys/types.h> | 6 | #include <sys/types.h> |
| 7 | 7 | ||
| 8 | #ifdef __sun | 8 | #if defined(__sun) || defined(__hpux) |
| 9 | /* Some functions historically defined in string.h were placed in strings.h by | 9 | /* Some functions historically defined in string.h were placed in strings.h by |
| 10 | * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris. | 10 | * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris and HPUX. |
| 11 | */ | 11 | */ |
| 12 | #include <strings.h> | 12 | #include <strings.h> |
| 13 | #endif | 13 | #endif |
