From 349c725b58c7d8ae35bb718c5e844b96d9149f44 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 12 Nov 2008 00:16:46 +0000 Subject: [PATCH] Fix a bootstrapping issue, UF_NOHISTORY may not exist on older systems. Reported-by: "Simon 'corecode' Schubert" --- usr.bin/xinstall/xinstall.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index 97828a98cf..e977b4673b 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -33,7 +33,7 @@ * @(#) Copyright (c) 1987, 1993 The Regents of the University of California. All rights reserved. * @(#)xinstall.c 8.1 (Berkeley) 7/21/93 * $FreeBSD: src/usr.bin/xinstall/xinstall.c,v 1.38.2.8 2002/08/07 16:29:48 ru Exp $ - * $DragonFly: src/usr.bin/xinstall/xinstall.c,v 1.6 2008/11/11 01:51:24 dillon Exp $ + * $DragonFly: src/usr.bin/xinstall/xinstall.c,v 1.7 2008/11/12 00:16:46 dillon Exp $ */ #include @@ -62,6 +62,9 @@ #ifndef MAP_FAILED #define MAP_FAILED ((void *)-1) /* from */ #endif +#ifndef UF_NOHISTORY +#define UF_NOHISTORY 0 +#endif #define MAX_CMP_SIZE (16 * 1024 * 1024) -- 2.41.0