diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/win32/README | 3 | ||||
-rw-r--r-- | src/win32/endian.h | 8 | ||||
-rw-r--r-- | src/win32/tcp.h | 6 | ||||
-rw-r--r-- | src/win32/un.h | 11 |
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 |