diff options
Diffstat (limited to 'contrib/bmake/make.h')
-rw-r--r-- | contrib/bmake/make.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/bmake/make.h b/contrib/bmake/make.h index 7cf34d8..4448505 100644 --- a/contrib/bmake/make.h +++ b/contrib/bmake/make.h @@ -1,4 +1,4 @@ -/* $NetBSD: make.h,v 1.96 2015/09/21 21:50:16 pooka Exp $ */ +/* $NetBSD: make.h,v 1.98 2016/02/18 18:29:14 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -88,6 +88,7 @@ #include <sys/param.h> #include <ctype.h> +#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #ifdef HAVE_STRING_H @@ -98,6 +99,10 @@ #include <unistd.h> #include <sys/cdefs.h> +#ifndef FD_CLOEXEC +#define FD_CLOEXEC 1 +#endif + #if defined(__GNUC__) #define MAKE_GNUC_PREREQ(x, y) \ ((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || \ @@ -501,6 +506,10 @@ Boolean Main_SetObjdir(const char *); int mkTempFile(const char *, char **); int str2Lst_Append(Lst, char *, const char *); +#define VARF_UNDEFERR 1 +#define VARF_WANTRES 2 +#define VARF_ASSIGN 4 + #ifdef __GNUC__ #define UNCONST(ptr) ({ \ union __unconst { \ |