]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-afsconfig-20090316
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 16 Mar 2009 18:13:32 +0000 (18:13 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 16 Mar 2009 18:13:32 +0000 (18:13 +0000)
LICENSE MIT

add typedef for socklen_t which is not present on Windows.

(cherry picked from commit 143819664227f239c9cc07503c9fad1faa5ba9a3)

src/config/afsconfig-windows.h

index 410458966768be2884c91efdeecc19be57ac238e..2176c81205f17aaf0c5b12e615abf1790741b7ab 100644 (file)
@@ -231,3 +231,6 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
 
 /* include all of the vos listvol options */
 #define FULL_LISTVOL_SWITCH 1
+
+/* Windows does not provide socklen_t */
+typedef unsigned int socklen_t;