From bce901af7db4430b9e216c39c8144376c1a31ab4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 17 Jan 1999 06:27:05 +0000 Subject: [PATCH] Win32 new files. --- src/win32/README | 3 +++ src/win32/endian.h | 8 ++++++++ src/win32/tcp.h | 6 ++++++ src/win32/un.h | 11 +++++++++++ 4 files changed, 28 insertions(+) create mode 100644 src/win32/README create mode 100644 src/win32/endian.h create mode 100644 src/win32/tcp.h create mode 100644 src/win32/un.h diff --git a/src/win32/README b/src/win32/README new file mode 100644 index 0000000000..0e1383f93d --- /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 0000000000..6ba49cd2f2 --- /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 + +#endif \ No newline at end of file diff --git a/src/win32/tcp.h b/src/win32/tcp.h new file mode 100644 index 0000000000..5fc85d9447 --- /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 0000000000..a914c22afc --- /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 -- 2.40.0