commit:     2635cfd8efbbdda134c0b7ec2cd97588a01e295b
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 20 03:59:56 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 03:59:56 2016 +0000
URL:        https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=2635cfd8

porting: add O_PATH fallback too

 porting.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/porting.h b/porting.h
index 2d79f28..8f2694b 100644
--- a/porting.h
+++ b/porting.h
@@ -221,6 +221,9 @@
 #ifndef O_CLOEXEC
 # define O_CLOEXEC 0
 #endif
+#ifndef O_PATH
+# define O_PATH 0
+#endif
 
 #define __unused__ __attribute__((__unused__))
 

Reply via email to