diff options
Diffstat (limited to 'winsup/cygwin/include/sys/un.h')
-rw-r--r-- | winsup/cygwin/include/sys/un.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/winsup/cygwin/include/sys/un.h b/winsup/cygwin/include/sys/un.h deleted file mode 100644 index 6f49c7b06..000000000 --- a/winsup/cygwin/include/sys/un.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef _SYS_UN_H -#define _SYS_UN_H - -/* POSIX requires only at least 100 bytes */ -#define UNIX_PATH_LEN 108 - -struct sockaddr_un { - unsigned short sun_family; /* address family AF_LOCAL/AF_UNIX */ - char sun_path[UNIX_PATH_LEN]; /* 108 bytes of socket address */ -}; - -/* Evaluates the actual length of `sockaddr_un' structure. */ -#define SUN_LEN(p) ((size_t)(((struct sockaddr_un *) NULL)->sun_path) \ - + strlen ((p)->sun_path)) - -#endif |