Subject: lib/2044: libcom_err problem
To: None <gnats-bugs@NetBSD.ORG>
From: Phillip F Knaack <flipk@ncremp.ag.iastate.edu>
List: netbsd-bugs
Date: 02/07/1996 14:34:44
>Number: 2044
>Category: lib
>Synopsis: missing include file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 7 18:50:15 1996
>Last-Modified:
>Originator: Phillip F Knaack
>Organization:
Iowa State University Extension (North Central Region Educational Materials Project)
>Release: 1.1
>Environment:
System: NetBSD ncremp.ag.iastate.edu 1.1 NetBSD 1.1 (NCREMP) #0: Wed Jan 3 10:26:04 CST 1996 root@ncremp.ag.iastate.edu:/usr/src/sys/arch/i386/compile/NCREMP i386
/usr/src/domestic/lib/libcom_err
>Description:
error_message.c uses the system vars sys_nerr and sys_errlist,
but fails to include stdio.h.
>How-To-Repeat:
typing "make" in /usr/src/domestic/lib/libcom_err
>Fix:
diff -c error_message.c.old error_message.c
*** error_message.c.old Wed Feb 7 14:26:28 1996
--- error_message.c Wed Feb 7 14:25:39 1996
***************
*** 19,24 ****
--- 19,25 ----
#include <errno.h>
#include <string.h>
+ #include <stdio.h>
#include "error_table.h"
#include "internal.h"
>Audit-Trail:
>Unformatted: