summaryrefslogtreecommitdiff
path: root/lib/readlink.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-02-19 02:23:32 +0000
committerBruno Haible <bruno@clisp.org>2007-02-19 02:23:32 +0000
commitd52c5b93a562113d859c264bbb92f5c0b8c5ae77 (patch)
tree8b462a9db5b2d6d3493a723e4555b9d6880378ea /lib/readlink.c
parent41dccf6a007ea2fdc0eebd71f5bb3b73be43669f (diff)
downloadgnulib-d52c5b93a562113d859c264bbb92f5c0b8c5ae77.tar.gz
Move more declarations into <unistd.h>.
Diffstat (limited to 'lib/readlink.c')
-rw-r--r--lib/readlink.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/readlink.c b/lib/readlink.c
index 63b5d5ec79..3cbdc1c2fd 100644
--- a/lib/readlink.c
+++ b/lib/readlink.c
@@ -1,5 +1,5 @@
/* Stub for readlink().
- Copyright (C) 2003-2006 Free Software Foundation, Inc.
+ Copyright (C) 2003-2007 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,9 @@
#include <config.h>
+/* Specification. */
+#include <unistd.h>
+
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>