diff --git a/src/win32/README b/src/win32/README new file mode 100644 index 0000000000000000000000000000000000000000..0e1383f93dce87440561a9a002b8189879892929 --- /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 0000000000000000000000000000000000000000..6ba49cd2f288bba8eb9939246d14fc5c4261d1b9 --- /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 0000000000000000000000000000000000000000..5fc85d9447bbdbf6229740a33970f8114aef67af --- /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 0000000000000000000000000000000000000000..a914c22afc0e0d3ee909498e8a9367ff08bd7d30 --- /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