diff options
Diffstat (limited to 'include/sys/un.h')
-rw-r--r-- | include/sys/un.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sys/un.h b/include/sys/un.h new file mode 100644 index 000000000..b2562b723 --- /dev/null +++ b/include/sys/un.h @@ -0,0 +1,11 @@ +#ifndef __UN_H__
+#define __UN_H__
+
+#define UNIX_PATH_MAX 108
+
+struct sockaddr_un {
+ sa_family_t sun_family; /* AF_UNIX */
+ char sun_path[UNIX_PATH_MAX]; /* pathname */
+};
+
+#endif /* __UN_H__ */
\ No newline at end of file |