summaryrefslogtreecommitdiff
path: root/lib/openat.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-10-21 01:05:43 +0200
committerBruno Haible <bruno@clisp.org>2008-10-21 01:05:43 +0200
commite9e4f97f438cb507be7c24b7624de7ec81e7c2a5 (patch)
tree3475ca3dad7753e7ccbfc099c32d7f88ee54690d /lib/openat.c
parent0153b9171b1b4592f27bd5ce664a3b390d5c17f6 (diff)
downloadgnulib-e9e4f97f438cb507be7c24b7624de7ec81e7c2a5.tar.gz
Move the lstat() declaration to <sys/stat.h>.
Diffstat (limited to 'lib/openat.c')
-rw-r--r--lib/openat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/openat.c b/lib/openat.c
index 73f24b0697..0c32672215 100644
--- a/lib/openat.c
+++ b/lib/openat.c
@@ -1,5 +1,5 @@
/* provide a replacement openat function
- Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2006, 2007, 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
@@ -22,10 +22,10 @@
#include <stdarg.h>
#include <stddef.h>
+#include <sys/stat.h>
#include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
#include "fcntl--.h"
-#include "lstat.h"
#include "openat-priv.h"
#include "save-cwd.h"