diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-10 00:06:06 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-10 00:06:06 +0100 |
| commit | 21c39515903c34bc6428a544c88cf1c100786847 (patch) | |
| tree | c9d0465e24cc3148c84c2fee191f2b1bfc71b841 /gl/open.c | |
| parent | ed01d534474cc640515f1d5155349f14090aafe9 (diff) | |
| parent | 5d7d620903a2fb40f8cd3140081bfb7ceaf125d5 (diff) | |
| download | monitoring-plugins-21c39515903c34bc6428a544c88cf1c100786847.tar.gz | |
Merge branch 'master' into check_swap_again
Diffstat (limited to 'gl/open.c')
| -rw-r--r-- | gl/open.c | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Open a descriptor to a file. | 1 | /* Open a descriptor to a file. |
| 2 | Copyright (C) 2007-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2024 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is free software: you can redistribute it and/or modify | 4 | This file is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as | 5 | it under the terms of the GNU Lesser General Public License as |
| @@ -38,9 +38,13 @@ orig_open (const char *filename, int flags, mode_t mode) | |||
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | /* Specification. */ | 40 | /* Specification. */ |
| 41 | #ifdef __osf__ | ||
| 41 | /* Write "fcntl.h" here, not <fcntl.h>, otherwise OSF/1 5.1 DTK cc eliminates | 42 | /* Write "fcntl.h" here, not <fcntl.h>, otherwise OSF/1 5.1 DTK cc eliminates |
| 42 | this include because of the preliminary #include <fcntl.h> above. */ | 43 | this include because of the preliminary #include <fcntl.h> above. */ |
| 43 | #include "fcntl.h" | 44 | # include "fcntl.h" |
| 45 | #else | ||
| 46 | # include <fcntl.h> | ||
| 47 | #endif | ||
| 44 | 48 | ||
| 45 | #include "cloexec.h" | 49 | #include "cloexec.h" |
| 46 | 50 | ||
