summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 4119b690031..ce3fc80770f 100644
--- a/include/global.h
+++ b/include/global.h
@@ -351,6 +351,10 @@ typedef int (*qsort_cmp)(const void *,const void *);
typedef SOCKET_SIZE_TYPE size_socket;
#endif
+#ifndef SOCKOPT_OPTLEN_TYPE
+#define SOCKOPT_OPTLEN_TYPE size_socket
+#endif
+
/* file create flags */
#ifndef O_SHARE