Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: comp.unix.aux Subject: Include file oversight(s) Message-ID: Date: 23 Aug 90 04:44:55 GMT Organization: Smurf-O-Box Karlsruhe, FRG Lines: 62 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@smurf.sub.org -- urlichs@smurf.ira.uka.de Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49+721+621127(Voice)/621227(PEP)