Include file oversight(s)
Matthias Urlichs
urlichs at smurf.sub.org
Thu Aug 23 14:44:55 AEST 1990
This prevents me from compiling network programs unless _BSD_SOURCE is
defined.
Similar problems might exist in other include files.
Context diff below.
*** /usr/include/netinet/in.h Sat Sep 2 00:02:10 1989
--- /usr/local/include/netinet/in.h Thu Aug 23 06:14:12 1990
***************
*** 59,65 ****
* Internet address (a structure for historical reasons)
*/
struct in_addr {
! u_long s_addr;
};
/*
--- 60,66 ----
* Internet address (a structure for historical reasons)
*/
struct in_addr {
! ulong_t s_addr;
};
/*
***************
*** 107,113 ****
*/
struct sockaddr_in {
short sin_family;
! u_short sin_port;
struct in_addr sin_addr;
char sin_zero[8];
};
--- 108,114 ----
*/
struct sockaddr_in {
short sin_family;
! ushort_t sin_port;
struct in_addr sin_addr;
char sin_zero[8];
};
***************
*** 130,136 ****
extern struct domain inetdomain;
extern struct protosw inetsw[];
struct in_addr in_makeaddr();
! u_long in_netof(), in_lnaof();
#endif
#endif /* !__netinet_in_h */
--- 131,137 ----
extern struct domain inetdomain;
extern struct protosw inetsw[];
struct in_addr in_makeaddr();
! ulong_t in_netof(), in_lnaof();
#endif
#endif /* !__netinet_in_h */
--
Matthias Urlichs -- urlichs at smurf.sub.org -- urlichs at smurf.ira.uka.de
Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49+721+621127(Voice)/621227(PEP)
More information about the Comp.unix.aux
mailing list