Support for MaxOS/X.
[tinc] / system.h
index 51adca0..8006d1a 100644 (file)
--- a/system.h
+++ b/system.h
@@ -48,5 +48,9 @@
 /* Other functions */
 #include <dropin.h>
 
+#ifndef HAVE_SOCKLEN_T
+typedef int socklen_t;
+#endif
+
 #endif /* __TINC_SYSTEM_H__ */