From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Tue, 21 Nov 2000 16:50:01 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Trial version of locking fcntl Message-ID: <3A1AA7B9.21115.8BFC3E@localhost> In-reply-to: <200011212032.PAA20148@envy.delorie.com> References: <3A1ADB7C DOT DF244286 AT bigfoot DOT com> (message from Richard Dawe on Tue, 21 Nov 2000 20:30:52 +0000) X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > > When I try to build the patched fcntl.c, I get an error message about > > libc/getdinfo.h. This header doesn't appear to be in my CVS copy of DJGPP, Here's the patch for getdinfo.h: *** /dev/null Tue Nov 21 16:48:29 2000 --- include/libc/getdinfo.h Tue Jun 13 23:42:44 2000 *************** *** 0 **** --- 1,25 ---- + /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */ + #ifndef __dj_include_libc_getdinfo_h__ + #define __dj_include_libc_getdinfo_h__ + + #ifndef __dj_ENFORCE_ANSI_FREESTANDING + + #ifndef __STRICT_ANSI__ + + #ifndef _POSIX_SOURCE + + /* For parsing the bits returned by _get_dev_info. */ + #define _DEV_STDIN 0x0001 + #define _DEV_STDOUT 0x0002 + #define _DEV_NUL 0x0004 + #define _DEV_CLOCK 0x0008 + #define _DEV_RAW 0x0020 + #define _DEV_CDEV 0x0080 + #define _DEV_NO_INHERIT 0x1000 /* Undocumented. */ + #define _DEV_IOCTRL 0x4000 + + #endif /* !_POSIX_SOURCE */ + #endif /* !__STRICT_ANSI__ */ + #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ + + #endif