diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-07-02 17:22:31 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-07-02 17:22:31 +0000 |
| commit | 37cf05e2af4d5a4a6c5a437e12bae738fb00963f (patch) | |
| tree | 06d0b15509a25278b4a4bde176db7c19e408be8c /src | |
| parent | a6633971fbedea1e0ae1df2dfbaa7bbce7d500da (diff) | |
| download | nginx-37cf05e2af4d5a4a6c5a437e12bae738fb00963f.tar.gz nginx-37cf05e2af4d5a4a6c5a437e12bae738fb00963f.tar.bz2 | |
Merge of r4693: fixed "sendmsg() failed" alerts on HP-UX.
HP-UX needs _HPUX_ALT_XOPEN_SOCKET_API to be defined to be able to
use various POSIX versions of networking functions. Notably sendmsg()
resulted in "sendmsg() failed (9: Bad file number)" alerts without it.
See xopen_networking(7) for more details.
Diffstat (limited to 'src')
| -rw-r--r-- | src/os/unix/ngx_posix_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h index 4d432a7e3..4cf90cc98 100644 --- a/src/os/unix/ngx_posix_config.h +++ b/src/os/unix/ngx_posix_config.h @@ -12,6 +12,7 @@ #if (NGX_HPUX) #define _XOPEN_SOURCE #define _XOPEN_SOURCE_EXTENDED 1 +#define _HPUX_ALT_XOPEN_SOCKET_API #endif |
