Do not include math.h because it isn't used and it causes
"make world" to fail if you use the msun math library and blow away /usr/include and then do "make world". This is because the msun math.h isn't installed with the other include files before xlint is built. It finally gets installed when the msun library is built. Perhaps "make world" should install the msun math.h file if it doesn't install the CSRG math.h, to prevent problems like this in the future.
This commit is contained in:
parent
f7b994d058
commit
778413c81b
@ -42,7 +42,6 @@ static char rcsid[] = "$NetBSD: scan.l,v 1.8 1995/10/23 13:38:51 jpo Exp $";
|
||||
#include <float.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <math.h>
|
||||
#include <err.h>
|
||||
|
||||
#include "lint1.h"
|
||||
|
@ -39,7 +39,6 @@ static char rcsid[] = "$NetBSD: tree.c,v 1.12 1995/10/02 17:37:57 jpo Exp $";
|
||||
#include <string.h>
|
||||
#include <float.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "lint1.h"
|
||||
#include "y.tab.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user