Be more careful when including <time.h> and <sys/file.h> in system.h.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 6 May 1998 07:58:27 +0000 (07:58 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 6 May 1998 07:58:27 +0000 (07:58 +0000)
commite572c0c68c9d1a48595039af480e18e7d4bdb292
tree1748b8dd9d2d201890a31a8e3a9e2446497db5d4
parent45a455c9a6e7bcd78f24bb35a741ad3b62d40065
Be more careful when including <time.h> and <sys/file.h> in system.h.

Consolidate O_RDONLY/O_WRONLY fallback definitions from various files
into system.h.
        * system.h: Wrap time.h and sys/file.h in autoconf checks.
        Provide default definitions for O_RDONLY and O_WRONLY here.
        * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.

From-SVN: r19571
gcc/ChangeLog
gcc/cccp.c
gcc/cpplib.c
gcc/fix-header.c
gcc/gcc.c
gcc/protoize.c
gcc/system.h