aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/cond.c
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2005-02-01 10:50:37 +0000
committerHartmut Brandt <harti@FreeBSD.org>2005-02-01 10:50:37 +0000
commit7a2029bac2130f8d12b0c3bfa5fca898e12e29a9 (patch)
treead58e65b384352ba6b76d8d9e9ad5ae790aaf99f /usr.bin/make/cond.c
parent9d97c7ee0a669da96995c604152359d99d483034 (diff)
Notes
Diffstat (limited to 'usr.bin/make/cond.c')
-rw-r--r--usr.bin/make/cond.c23
1 files changed, 16 insertions, 7 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c
index ad70a3e1eff2..a0f3dc13fa13 100644
--- a/usr.bin/make/cond.c
+++ b/usr.bin/make/cond.c
@@ -1,4 +1,4 @@
-/*
+/*-
* Copyright (c) 1988, 1989, 1990, 1993
* The Regents of the University of California. All rights reserved.
* Copyright (c) 1988, 1989 by Adam de Boor
@@ -51,12 +51,21 @@ __FBSDID("$FreeBSD$");
*
*/
-#include <ctype.h>
-#include <math.h>
-#include "make.h"
-#include "hash.h"
-#include "dir.h"
-#include "buf.h"
+#include <ctype.h>
+#include <string.h>
+#include <stdlib.h>
+
+#include "cond.h"
+#include "dir.h"
+#include "globals.h"
+#include "GNode.h"
+#include "make.h"
+#include "parse.h"
+#include "sprite.h"
+#include "str.h"
+#include "targ.h"
+#include "util.h"
+#include "var.h"
/*
* The parsing of conditional expressions is based on this grammar: