diff --git a/libtap/tap/files.c b/libtap/tap/files.c
|
|
index 0c24075..d33db6c 100644
|
|
--- a/libtap/tap/files.c
|
|
+++ b/libtap/tap/files.c
|
|
@@ -27,6 +27,10 @@
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
+#ifndef O_NOFOLLOW
|
|
+#define O_NOFOLLOW 0
|
|
+#endif
|
|
+
|
|
char *test_mkdtemp(void)
|
|
{
|
|
char *tmpdir = getenv("TMPDIR");
|