From fb73340c52bcab712dfb175dafbcb5156abdda12 Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Mon, 14 Apr 2014 18:33:22 -0600 Subject: [PATCH] Windows: set sizeof(sun_path) to 260 (MAX_PATH). Signed-off-by: Jens Axboe --- os/windows/posix/include/sys/un.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/windows/posix/include/sys/un.h b/os/windows/posix/include/sys/un.h index b9ea6301..e418c6dd 100644 --- a/os/windows/posix/include/sys/un.h +++ b/os/windows/posix/include/sys/un.h @@ -7,7 +7,7 @@ typedef int in_port_t; struct sockaddr_un { sa_family_t sun_family; /* Address family */ - char sun_path[]; /* Socket pathname */ + char sun_path[260]; /* Socket pathname */ }; #endif /* SYS_UN_H */ -- 2.25.1