From b249f68e6ca8b5122fa21c7d66bd4f74d21c1551 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Thu, 19 Jan 2017 09:58:21 +0900 Subject: [PATCH] Fix fcntl.h shim since HP-UX 11.31 (ia64) does not define O_CLOEXEC --- include/compat/fcntl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/compat/fcntl.h b/include/compat/fcntl.h index 99c2d58..7dfedc6 100644 --- a/include/compat/fcntl.h +++ b/include/compat/fcntl.h @@ -17,6 +17,8 @@ #include_next #endif +#endif + #ifndef O_NONBLOCK #define O_NONBLOCK 0x100000 #endif @@ -28,5 +30,3 @@ #ifndef FD_CLOEXEC #define FD_CLOEXEC 1 #endif - -#endif