From owner-freebsd-ports Thu Sep 5 11:03:37 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06217 for ports-outgoing; Thu, 5 Sep 1996 11:03:37 -0700 (PDT) Received: from bdd.net (bdd.net [207.61.119.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA06210 for ; Thu, 5 Sep 1996 11:03:34 -0700 (PDT) Received: from localhost (james@localhost) by bdd.net (8.7.5/8.7.3) with SMTP id OAA25442 for ; Thu, 5 Sep 1996 14:03:27 -0400 (EDT) Date: Thu, 5 Sep 1996 14:03:27 -0400 (EDT) From: James FitzGibbon To: freebsd-ports@freebsd.org Subject: Question about fcntl.h Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In a port I'm doing, I need to selectively include fcntl.h to get the O_whatever mode constants. I'm trying to do it in such a way so that I can submit the patch back to the authors. What I need to know is what the conditional should be for including fcntl.h. Obviously I can used #if defined(__FreeBSD__), but I'm pretty sure this is a BSDism in general. Is the method for determining a BSD4.4 system (as in the handbook) good enough ? -- j. ---------------------------------------------------------------------------- | James FitzGibbon james@nexis.net | | Integrator, The Nexis Group Voice/Fax : 416 410-0100 | ----------------------------------------------------------------------------