/* readlinkat wrapper to return the link name in malloc'd storage.
Unlike xreadlinkat, only call exit on failure to change directory.
- Copyright (C) 2001, 2003-2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003-2007, 2009-2013 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
#include "areadlink.h"
-#include <stdio.h>
#include <errno.h>
#include <limits.h>
-#include <sys/types.h>
+#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>