diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-04-21 18:46:35 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-04-21 18:46:35 +0000 |
commit | 78173ef8190a1d5f9bab28053b0c274329533e59 (patch) | |
tree | bcb808532b5217262ccd1cfc08a33c4af30be108 /src/htsnet.h | |
parent | aad018682d4298a476e2bca6eb8756de41fa8ca0 (diff) |
Build warning cleanup.
* introduced SOClen type (aka. socklen_t)
Diffstat (limited to 'src/htsnet.h')
-rw-r--r-- | src/htsnet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/htsnet.h b/src/htsnet.h index e982f43..2243611 100644 --- a/src/htsnet.h +++ b/src/htsnet.h @@ -247,6 +247,9 @@ getnameinfo((struct sockaddr *)&(ss), sslen, \ #endif +/* Socket length type */ +typedef socklen_t SOClen; + /* Buffer structure to copy various hostent structures */ #ifndef HTS_DEF_FWSTRUCT_t_fullhostent #define HTS_DEF_FWSTRUCT_t_fullhostent |