From owner-freebsd-bugs Fri Dec 8 9:24:29 2000 From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 8 09:24:28 2000 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by hub.freebsd.org (Postfix) with ESMTP id 36FBD37B69F; Fri, 8 Dec 2000 09:24:26 -0800 (PST) Received: from localhost (marck@localhost) by woozle.rinet.ru (8.9.3/8.9.1) with ESMTP id UAA20347; Fri, 8 Dec 2000 20:24:17 +0300 (MSK) Date: Fri, 8 Dec 2000 20:24:17 +0300 (MSK) From: Dmitry Morozovsky To: kris@freebsd.org Cc: bugs@freebsd.org Subject: FreeBSD-stable (4.x). netinet/in.h Message-ID: X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 + /* * 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