diff options
Diffstat (limited to 'libc/bionic/readlink.cpp')
-rw-r--r-- | libc/bionic/readlink.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/bionic/readlink.cpp b/libc/bionic/readlink.cpp index a2c5e91..a53f933 100644 --- a/libc/bionic/readlink.cpp +++ b/libc/bionic/readlink.cpp @@ -26,9 +26,12 @@ * SUCH DAMAGE. */ +#undef _FORTIFY_SOURCE + #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> +#include <unistd.h> ssize_t readlink(const char* path, char* buf, size_t size) { return readlinkat(AT_FDCWD, path, buf, size); |