Not all systems it seems has socklen_t defined. If its missing
authorKent Mein <mein@cs.umn.edu>
Tue, 26 Jun 2007 18:40:41 +0000 (18:40 +0000)
committerKent Mein <mein@cs.umn.edu>
Tue, 26 Jun 2007 18:40:41 +0000 (18:40 +0000)
typedef it as an int.

Kent

extern/verse/dist/v_network.c

index 6a85f9d0e25e9ffceacc7dcbed92c54b503c5b7f..3d67218bb7ed6aaff66418c53e984efbbb56170f 100644 (file)
@@ -37,6 +37,10 @@ typedef char boolean;
 #include "v_cmd_gen.h"
 #include "v_network.h"
 
+#if !defined socklen_t
+#define socklen_t int
+#endif
+
 #define        TRUE    1
 #define        FALSE   0