X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=bacula%2Fsrc%2Flib%2Fbpipe.c;h=95e9f471fa73151a5261c29c5f5534a408aa8f2a;hb=10cfd798ced2d27f61ead2de6fe9b1bcc8e3468d;hp=b28068522f33112964cb6bf5bc2ef8cb2b3d8d1b;hpb=30386c2536d58966c09e91588fbd803483ecfd10;p=bacula%2Fbacula diff --git a/bacula/src/lib/bpipe.c b/bacula/src/lib/bpipe.c index b28068522f..95e9f471fa 100644 --- a/bacula/src/lib/bpipe.c +++ b/bacula/src/lib/bpipe.c @@ -26,7 +26,12 @@ #include "bacula.h" #include "jcr.h" +#ifdef HAVE_GETRLIMIT #include +#else +/* If not available, use a wrapper that will not use it */ +#define getrlimit(a,b) -1 +#endif int execvp_errors[] = { EACCES,