Windows: set sizeof(sun_path) to 260 (MAX_PATH).
[fio.git] / os / windows / posix / include / sys / un.h
index b9ea63016c2ac73c18670d222628e171458777f4..e418c6dd9d14eff5fc08f3a3ad7a71154bf0f4e8 100644 (file)
@@ -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 */