summaryrefslogtreecommitdiff
path: root/src/htsnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htsnet.h')
-rw-r--r--src/htsnet.h3
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