From: Bruce Cran Date: Tue, 15 Apr 2014 00:33:22 +0000 (-0600) Subject: Windows: set sizeof(sun_path) to 260 (MAX_PATH). X-Git-Tag: fio-2.1.9~20^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=fb73340c52bcab712dfb175dafbcb5156abdda12 Windows: set sizeof(sun_path) to 260 (MAX_PATH). Signed-off-by: Jens Axboe --- 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 */