From c590a4c86428649863b9b82be386aaaa747586e0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 16 Oct 2008 14:35:41 +0200 Subject: [PATCH] openat-die.c: avoid 'no previous prototype' warning * lib/openat-die.c: Include "openat.h". Reported by Reuben Thomas . --- ChangeLog | 6 ++++++ lib/openat-die.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8d470e8a58..0394202ec4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-16 Jim Meyering + + openat-die.c: avoid 'no previous prototype' warning + * lib/openat-die.c: Include "openat.h". + Reported by Reuben Thomas . + 2008-10-16 Simon Josefsson * m4/netdb_h.m4: Assume that if netdb.h exists, it works. diff --git a/lib/openat-die.c b/lib/openat-die.c index 6bc533d07f..77da06e539 100644 --- a/lib/openat-die.c +++ b/lib/openat-die.c @@ -1,6 +1,6 @@ /* Report a save- or restore-cwd failure in our openat replacement and then exit. - Copyright (C) 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +17,8 @@ #include +#include "openat.h" + #include #include "error.h" -- 2.30.2