summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian1999-01-17 06:27:05 +0000
committerBruce Momjian1999-01-17 06:27:05 +0000
commitbce901af7db4430b9e216c39c8144376c1a31ab4 (patch)
treec9fa958b4c020c7d5d466409856b9b3665d3fca6
parent7a6b562fdf60f1d1ebe9e2bc154d0ffd56dab2d1 (diff)
Win32 new files.
-rw-r--r--src/win32/README3
-rw-r--r--src/win32/endian.h8
-rw-r--r--src/win32/tcp.h6
-rw-r--r--src/win32/un.h11
4 files changed, 28 insertions, 0 deletions
diff --git a/src/win32/README b/src/win32/README
new file mode 100644
index 00000000000..0e1383f93dc
--- /dev/null
+++ b/src/win32/README
@@ -0,0 +1,3 @@
+Add the included headers endian.h into Cygwin's include/, tcp.h into
+include/netinet, and un.h into include/sys.
+
diff --git a/src/win32/endian.h b/src/win32/endian.h
new file mode 100644
index 00000000000..6ba49cd2f28
--- /dev/null
+++ b/src/win32/endian.h
@@ -0,0 +1,8 @@
+#ifndef _ENDIAN_H_
+#define _ENDIAN_H_
+
+/* JKR added file, all hacks will be in the files added, not in EGCS */
+
+#include <sys/param.h>
+
+#endif \ No newline at end of file
diff --git a/src/win32/tcp.h b/src/win32/tcp.h
new file mode 100644
index 00000000000..5fc85d9447b
--- /dev/null
+++ b/src/win32/tcp.h
@@ -0,0 +1,6 @@
+#ifndef _INET_TCP_
+#define _INET_TCP_
+
+/* JKR added file, all hacks will be in the files added, not in EGCS */
+
+#endif /* _INET_TCP_ */
diff --git a/src/win32/un.h b/src/win32/un.h
new file mode 100644
index 00000000000..a914c22afc0
--- /dev/null
+++ b/src/win32/un.h
@@ -0,0 +1,11 @@
+#ifndef _SYS_UN_H
+#define _SYS_UN_H
+
+/* JKR added file, all hacks will be in the files added, not in EGCS */
+
+struct sockaddr_un {
+ short sun_family; /* AF_UNIX */
+ char sun_path[108]; /* path name (gag) */
+};
+
+#endif /* _SYS_UN_H */ \ No newline at end of file