]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bpipe.c
Restore win32 dir from Branch-5.2 and update it
[bacula/bacula] / bacula / src / lib / bpipe.c
index b28068522f33112964cb6bf5bc2ef8cb2b3d8d1b..95e9f471fa73151a5261c29c5f5534a408aa8f2a 100644 (file)
 
 #include "bacula.h"
 #include "jcr.h"
+#ifdef HAVE_GETRLIMIT
 #include <sys/resource.h>
+#else
+/* If not available, use a wrapper that will not use it */
+#define getrlimit(a,b) -1
+#endif
 
 int execvp_errors[] = {
         EACCES,