commit 72dd6f84833efe4ec3ecc84091bd95f59c6bc5b8
parent 3b9d072a042968200ae9541855011cac29739083
Author: David Goulet <dgoulet@torproject.org>
Date: Tue, 1 Apr 2025 12:45:37 +0000
Merge branch 'dont-redefine-o_nofollow' into 'main'
Don't redefine O_NOFOLLOW.
See merge request tpo/core/tor!877
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/lib/fs/files.h b/src/lib/fs/files.h
@@ -29,6 +29,10 @@
#endif
#endif /* defined(_WIN32) */
+#if HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+
#ifndef O_BINARY
#define O_BINARY 0
#endif