Date: Fri, 8 Dec 2000 20:24:17 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: kris@freebsd.org Cc: bugs@freebsd.org Subject: FreeBSD-stable (4.x). netinet/in.h Message-ID: <Pine.BSF.4.21.0012082018590.11640-100000@woozle.rinet.ru>
next in thread | raw e-mail | index | archive | help
Hi there colleagues, I found that before including netinet/in.h developer _must_ include sys/types.h before, or your source is not compilable. Is it intentional? :) Please CC: you answers to my own address. Thank you. Obvious patch: --- in.h.old Fri Dec 8 20:14:15 2000 +++ in.h Fri Dec 8 20:14:58 2000 @@ -37,6 +37,9 @@ #ifndef _NETINET_IN_H_ #define _NETINET_IN_H_ +/* we need to define types, eh? */ +#include <sys/types.h> + /* * Constants and structures defined by the internet system, * Per RFC 790, September 1981, and numerous additions. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012082018590.11640-100000>