1
0

03_contrib_files.patch 361 B

123456789101112131415
  1. diff --git a/src/contrib/files.c b/src/contrib/files.c
  2. index 8aee482..12f36ca 100644
  3. --- a/src/contrib/files.c
  4. +++ b/src/contrib/files.c
  5. @@ -24,6 +24,10 @@
  6. #include <sys/stat.h>
  7. #include <unistd.h>
  8. +#ifndef O_NOFOLLOW
  9. +#define O_NOFOLLOW 0
  10. +#endif
  11. +
  12. static bool special_name(const char *name)
  13. {
  14. return strcmp(name, ".") == 0 || strcmp(name, "..") == 0;