This patch fixes it:

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Index: src/support/socktools.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/support/socktools.C,v
retrieving revision 1.1
diff -u -r1.1 socktools.C
--- src/support/socktools.C     2003/10/13 12:25:11     1.1
+++ src/support/socktools.C     2003/10/13 18:07:58
@@ -26,6 +26,10 @@
 
 using std::string;
 
+#if !defined(SUN_LEN)
+#define SUN_LEN(su) \
+       (sizeof (*(su)) - sizeof ((su)->sun_path) + strlen((su)->sun_path))
+#endif
 
 namespace lyx {
 namespace support {

Reply via email to