From owner-freebsd-hackers Mon Jun 14 19:29:29 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id C5B6414E4B for ; Mon, 14 Jun 1999 19:29:22 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from lot.gsoft.com.au (lot.gsoft.com.au [203.38.152.106]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id LAA13180; Tue, 15 Jun 1999 11:57:28 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3765B7DC.E87AD77C@wm28.csie.ncu.edu.tw> Date: Tue, 15 Jun 1999 11:57:28 +0930 (CST) From: "Daniel O'Connor" To: Ming-I Hsieh Subject: RE: Why not let "sys/stat.h" include "sys/types.h"? Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15-Jun-99 Ming-I Hsieh wrote: > Anyone can tell me why the ``sys/stat.h'' don't include ``sys/types''! > It will cause some imcompatible between FreeBSD and some others UN*X. Because you're supposed to know what you need when you use certain things.. As the stat(2) man page says, you need to include both and --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message