Support for MaxOS/X.
[oweals/tinc.git] / system.h
index 51adca0b785679c8ae34069a32e4483d69412426..8006d1a783f3cd9dfd1b2db354e524e692200c58 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__ */