extern "C" {
#endif
-#if __STDC_VERSION__ >= 199901L
-#define __restrict restrict
-#elif !defined(__GNUC__)
-#define __restrict
-#endif
+#include <features.h>
#define __NEED_dev_t
#define __NEED_ino_t
int futimens(int, const struct timespec [2]);
int utimensat(int, const char *, const struct timespec [2], int);
-#ifdef _BSD_SOURCE
-int lchmod(const char *, mode_t);
-#endif
-
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+int lchmod(const char *, mode_t);
#define S_IREAD S_IRUSR
#define S_IWRITE S_IWUSR
#define S_IEXEC S_IXUSR