X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Flib%2Fbpipe.c;h=b28068522f33112964cb6bf5bc2ef8cb2b3d8d1b;hb=30386c2536d58966c09e91588fbd803483ecfd10;hp=4c90c874a648f0e09822894fc47efc58dad0e720;hpb=d76eb27e360cd05e4f9979c0cfe07197ae383344;p=bacula%2Fbacula diff --git a/bacula/src/lib/bpipe.c b/bacula/src/lib/bpipe.c index 4c90c874a6..b28068522f 100644 --- a/bacula/src/lib/bpipe.c +++ b/bacula/src/lib/bpipe.c @@ -73,8 +73,10 @@ BPIPE *open_bpipe(char *prog, int wait, const char *mode, char *envp[]) int mode_read, mode_write, mode_shell; BPIPE *bpipe; int save_errno; +#if !defined(HAVE_FCNTL_F_CLOSEM) && !defined(HAVE_CLOSEFROM) struct rlimit rl; int64_t rlimitResult=0; +#endif if (!prog || !*prog) { /* execve(3) A component of the file does not name an existing file or file is an empty string. */