From 0feb9db220a276a2f8f29621dc8f04072bbfdd22 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:39:01 +0200 Subject: Merging upstream version 2.12.1. Signed-off-by: Daniel Baumann --- gl/lib/openat.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gl/lib/openat.c') diff --git a/gl/lib/openat.c b/gl/lib/openat.c index f28b10e..65cfc5e 100644 --- a/gl/lib/openat.c +++ b/gl/lib/openat.c @@ -1,5 +1,5 @@ /* provide a replacement openat function - Copyright (C) 2004-2023 Free Software Foundation, Inc. + Copyright (C) 2004-2024 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,9 +35,13 @@ orig_openat (int fd, char const *filename, int flags, mode_t mode) } #endif +#ifdef __osf__ /* Write "fcntl.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ -#include "fcntl.h" +# include "fcntl.h" +#else +# include +#endif #include "openat.h" -- cgit v1.2.3