From 9e7d00b618adb02d53561de25afb7db2e9a3f334 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 5 Jun 2009 20:00:26 +0000 Subject: Don't depend on presence of stdbool.h (or C99 support). Fixes build on Solaris. --- devel/nbpatch/files/common.h | 4 ++-- devel/nbpatch/files/inp.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'devel') diff --git a/devel/nbpatch/files/common.h b/devel/nbpatch/files/common.h index e8a5abe5e4f..3937feaba2b 100644 --- a/devel/nbpatch/files/common.h +++ b/devel/nbpatch/files/common.h @@ -1,7 +1,7 @@ /* * $OpenBSD: common.h,v 1.26 2006/03/11 19:41:30 otto Exp $ * $DragonFly: src/usr.bin/patch/common.h,v 1.5 2008/08/10 23:50:12 joerg Exp $ - * $NetBSD: common.h,v 1.2 2008/10/08 21:35:56 joerg Exp $ + * $NetBSD: common.h,v 1.3 2009/06/05 20:00:26 joerg Exp $ */ /* @@ -32,7 +32,7 @@ #include -#include +#include #if HAVE_STDINT_H #include #endif diff --git a/devel/nbpatch/files/inp.c b/devel/nbpatch/files/inp.c index be497e8d341..349eb73e1ec 100644 --- a/devel/nbpatch/files/inp.c +++ b/devel/nbpatch/files/inp.c @@ -1,7 +1,7 @@ /* * $OpenBSD: inp.c,v 1.34 2006/03/11 19:41:30 otto Exp $ * $DragonFly: src/usr.bin/patch/inp.c,v 1.6 2007/09/29 23:11:10 swildner Exp $ - * $NetBSD: inp.c,v 1.4 2009/05/11 22:43:50 joerg Exp $ + * $NetBSD: inp.c,v 1.5 2009/06/05 20:00:26 joerg Exp $ */ /* @@ -41,6 +41,7 @@ #include #include +#include #include #include #if HAVE_STDDEF_H -- cgit v1.2.3