* SUCH DAMAGE.
*/
/*
- * $Id: glue.h 4363 2009-12-08 16:06:54Z marta $
+ * $Id: glue.h 4413 2009-12-10 08:57:02Z luigi $
*
* glue code to adapt the FreeBSD version to linux and windows,
* userland and kernel.
#define INET_ADDRSTRLEN 16
+#ifdef linux
+/* linux does not have sin_len in sockaddr */
+#define sin_len __pad[0]
+#endif /* linux */
+
/*
* List of values used for set/getsockopt options.
* The base value on FreeBSD is defined as a macro,