From caddb025c9deae90d7c963de2d6bc6f167dca067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 13 Dec 2006 16:12:17 +0000 Subject: [PATCH] Added sys/un.h header file - AF_UNIX is still unsupported, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19492 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/sys/un.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 headers/posix/sys/un.h diff --git a/headers/posix/sys/un.h b/headers/posix/sys/un.h new file mode 100644 index 0000000000..e85af6bbf5 --- /dev/null +++ b/headers/posix/sys/un.h @@ -0,0 +1,18 @@ +/* + * Copyright 2006, Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ +#ifndef _SYS_UN_H +#define _SYS_UN_H + + +#include + + +struct sockaddr_un { + uint8_t sun_len; + uint8_t sun_family; + uint8_t sun_path[128]; +}; + +#endif /* _SYS_UN_H */