summaryrefslogtreecommitdiff
path: root/lib/openat-die.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-10-16 14:35:41 +0200
committerJim Meyering <meyering@redhat.com>2008-10-16 14:35:41 +0200
commitc590a4c86428649863b9b82be386aaaa747586e0 (patch)
treea0984bc158048d5c3560f5a5d49f8e3a67254e48 /lib/openat-die.c
parent3cdd75d6d78830ecc5633df781baaf2be2c4a7e9 (diff)
downloadgnulib-c590a4c86428649863b9b82be386aaaa747586e0.tar.gz
openat-die.c: avoid 'no previous prototype' warning
* lib/openat-die.c: Include "openat.h". Reported by Reuben Thomas <rrt@sc3d.org>.
Diffstat (limited to 'lib/openat-die.c')
-rw-r--r--lib/openat-die.c4
1 files changed, 3 insertions, 1 deletions
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 <config.h>
+#include "openat.h"
+
#include <stdlib.h>
#include "error.h"