Subject: bin/2002: gcc2/cc/gcc.c needs errno.h
To: None <gnats-bugs@NetBSD.ORG>
From: Simon J. Gerraty <sjg@hobbit.dn.itg.telecom.com.au>
List: netbsd-bugs
Date: 01/31/1996 14:48:31
>Number:         2002
>Category:       bin
>Synopsis:       gcc2/cc/gcc.c needs errno.h
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 30 23:05:04 1996
>Last-Modified:
>Originator:     Simon J. Gerraty
>Organization:
	
>Release:        Jan 27 tar_files
>Environment:
	
System: NetBSD hobbit 1.1A-1996.01.27 NetBSD 1.1A-1996.01.27 (HOBBIT) #0: Tue Jan 30 18:44:10 EST 1996 root@hobbit:/usr/bsd_src/usr.src/sys/arch/sparc/compile/HOBBIT sparc


>Description:
	
gcc2/cc/gcc.c does not compile due to lack of sys_nerr and sys_errlist
>How-To-Repeat:
	
>Fix:
	
RCS file: /prod/cvsroot/usr.src/gnu/usr.bin/gcc2/cc/gcc.c,v
retrieving revision 1.1.1.1
diff -c -b -r1.1.1.1 gcc.c
*** /tmp/T0a19240       Wed Jan 31 14:44:56 1996
--- gcc.c       Wed Jan 31 14:08:22 1996
***************
*** 45,50 ****
--- 45,52 ----
  #include "gvarargs.h"
  #include <stdio.h>
  
+ #include <errno.h>
+ 
  #ifndef R_OK
  #define R_OK 4
  #define W_OK 2

>Audit-Trail:
>Unformatted: