From 6a189181c2d33abc8821585476aa075b2bf0ed03 Mon Sep 17 00:00:00 2001 From: uwe Date: Wed, 18 Sep 2013 23:18:14 +0000 Subject: #include "nbtool_config.h" to pull in getprogname() declaration. --- fortune/strfile/strfile.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c index bc6a6b7a..5819978e 100644 --- a/fortune/strfile/strfile.c +++ b/fortune/strfile/strfile.c @@ -1,4 +1,4 @@ -/* $NetBSD: strfile.c,v 1.35 2012/10/13 20:42:56 dholland Exp $ */ +/* $NetBSD: strfile.c,v 1.36 2013/09/18 23:18:14 uwe Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -32,6 +32,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +#include "nbtool_config.h" +#endif + #ifdef __NetBSD__ #include #ifndef lint @@ -43,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\ #if 0 static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: strfile.c,v 1.35 2012/10/13 20:42:56 dholland Exp $"); +__RCSID("$NetBSD: strfile.c,v 1.36 2013/09/18 23:18:14 uwe Exp $"); #endif #endif /* not lint */ #endif /* __NetBSD__ */ -- cgit v1.2.3