diff options
Diffstat (limited to 'src/src/functions.h')
-rw-r--r-- | src/src/functions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/src/functions.h b/src/src/functions.h index 110d4db19..54de974c6 100644 --- a/src/src/functions.h +++ b/src/src/functions.h @@ -1104,6 +1104,7 @@ log_write(0, LOG_MAIN|LOG_PANIC, "Tainted filename '%s'", pathname); errno = EACCES; return -1; } +#ifdef EXIM_HAVE_OPENAT static inline int exim_openat(int dirfd, const char *pathname, int flags) { @@ -1120,6 +1121,7 @@ log_write(0, LOG_MAIN|LOG_PANIC, "Tainted filename '%s'", pathname); errno = EACCES; return -1; } +#endif static inline FILE * exim_fopen(const char *pathname, const char *mode) |