summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/os_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat/os_linux.h')
-rw-r--r--pjlib/include/pj/compat/os_linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/os_linux.h b/pjlib/include/pj/compat/os_linux.h
index f0bef355..cd5acaf8 100644
--- a/pjlib/include/pj/compat/os_linux.h
+++ b/pjlib/include/pj/compat/os_linux.h
@@ -119,6 +119,8 @@
*/
#define PJ_THREAD_ALLOCATE_STACK 0
+/* Linux has socklen_t */
+#define PJ_HAS_SOCKLEN_T 1
#endif /* __PJ_COMPAT_OS_LINUX_H__ */