File get-set-rlimits.patch of Package octopus-load-balancer

diff -U 3 -H -d -r -N -- octopuslb-1.14.orig/src/init.c octopuslb-1.14/src/init.c
--- octopuslb-1.14.orig/src/init.c	2011-11-24 23:46:58.000000000 +0300
+++ octopuslb-1.14/src/init.c	2014-04-07 03:31:02.316717266 +0300
@@ -10,6 +10,9 @@
  *
  */
 
+#include <sys/time.h>
+#include <sys/resource.h>
+
 /* runs the server process which may involve running in the background (daemon mode) */
 int initialize_process() {
 	/* if we're not going to be running in the foreground then it's daemon time */
openSUSE Build Service is sponsored by