package = io.ktor.network.interop
---
#ifndef _WIN32
error Only Win32 targets are supported!
#endif // _WIN32

#ifdef KTOR_HAVE_AF_UNIX_H
#include <afunix.h>
#else
#include <winsock2.h>

#define UNIX_PATH_MAX 108

struct sockaddr_un {
  ADDRESS_FAMILY sun_family;
  char sun_path[UNIX_PATH_MAX];
} SOCKADDR_UN, *PSOCKADDR_UN;
#endif
