aboutsummaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/param.h6
-rw-r--r--include/sys/socket.h11
-rw-r--r--include/sys/types.h6
-rw-r--r--include/sys/un.h11
4 files changed, 34 insertions, 0 deletions
diff --git a/include/sys/param.h b/include/sys/param.h
new file mode 100644
index 000000000..577f415a0
--- /dev/null
+++ b/include/sys/param.h
@@ -0,0 +1,6 @@
+#ifndef __PARAM_H__
+#define __PARAM_H__
+
+#define MAXPATHLEN 255
+
+#endif \ No newline at end of file
diff --git a/include/sys/socket.h b/include/sys/socket.h
new file mode 100644
index 000000000..98068952a
--- /dev/null
+++ b/include/sys/socket.h
@@ -0,0 +1,11 @@
+#ifndef __SOCKET_H__
+#define __SOCKET_H__
+
+#include <X11/Xwinsock.h>
+#include <Ws2tcpip.h>
+
+typedef unsigned in_addr_t;
+typedef unsigned short sa_family_t;
+typedef unsigned short in_port_t;
+
+#endif \ No newline at end of file
diff --git a/include/sys/types.h b/include/sys/types.h
new file mode 100644
index 000000000..c4d8c2c2d
--- /dev/null
+++ b/include/sys/types.h
@@ -0,0 +1,6 @@
+#ifndef __TYPES_H__
+#define __TYPES_H__
+
+#include <wchar.h>
+
+#endif \ No newline at end of file
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