From 5c40e677f55c87a3b197fa6921e60f4a59712d5b Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 27 Jun 1997 18:27:10 -0400 Subject: [PATCH] (fcntl.h): Only include if not building libgcc.a. From-SVN: r14343 --- gcc/config/xm-gnu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/config/xm-gnu.h b/gcc/config/xm-gnu.h index 57e74f23018..62debf6de94 100644 --- a/gcc/config/xm-gnu.h +++ b/gcc/config/xm-gnu.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for hosts running GNU. - Copyright (C) 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc. This file is part of GNU CC. @@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */ #define HAVE_STRERROR /* GNU has strerror. */ #define POSIX /* GNU complies to POSIX.1. */ +#ifndef inhibit_libc /* Get a definition of O_RDONLY; some of the GCC files don't include this properly and will define it themselves to be zero. */ #include +#endif -- 2.30.2