]> granicus.if.org Git - postgresql/commitdiff
Win32 new files.
authorBruce Momjian <bruce@momjian.us>
Sun, 17 Jan 1999 06:27:05 +0000 (06:27 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 17 Jan 1999 06:27:05 +0000 (06:27 +0000)
src/win32/README [new file with mode: 0644]
src/win32/endian.h [new file with mode: 0644]
src/win32/tcp.h [new file with mode: 0644]
src/win32/un.h [new file with mode: 0644]

diff --git a/src/win32/README b/src/win32/README
new file mode 100644 (file)
index 0000000..0e1383f
--- /dev/null
@@ -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 (file)
index 0000000..6ba49cd
--- /dev/null
@@ -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 (file)
index 0000000..5fc85d9
--- /dev/null
@@ -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 (file)
index 0000000..a914c22
--- /dev/null
@@ -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