From ae9243aa425458eda4e3e0b8bc7dd8f19fc8113a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 15 Jan 2013 12:33:46 -0600 Subject: Work around more random uClibc-specific breakage. --- lib/portability.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/portability.h b/lib/portability.h index 859a57cf..31c0f620 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -38,6 +38,9 @@ char *strptime(const char *buf, const char *format, struct tm *tm); #include #include ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); +#ifndef O_NOFOLLOW +#define O_NOFOLLOW 00400000 /* don't follow links */ +#endif // When building under obsolete glibc, hold its hand a bit. #elif __GLIBC_MINOR__ < 10 -- cgit v1.2.3