You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
315 B

  1. diff --git a/libtap/tap/files.c b/libtap/tap/files.c
  2. index 0c24075..d33db6c 100644
  3. --- a/libtap/tap/files.c
  4. +++ b/libtap/tap/files.c
  5. @@ -27,6 +27,10 @@
  6. #include <sys/types.h>
  7. #include <unistd.h>
  8. +#ifndef O_NOFOLLOW
  9. +#define O_NOFOLLOW 0
  10. +#endif
  11. +
  12. char *test_mkdtemp(void)
  13. {
  14. char *tmpdir = getenv("TMPDIR");