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:
Mike Pritchard 1996-04-09 17:17:31 +00:00
parent f7b994d058
commit 778413c81b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15158
2 changed files with 0 additions and 2 deletions

View File

@ -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"

View File

@ -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"