Accepting request 129180 from home:a_jaeger:FactoryFix

Include sys/resource.h for getrlimit etc.

OBS-URL: https://build.opensuse.org/request/show/129180
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=38
This commit is contained in:
Yan Gao
2012-07-30 02:03:55 +00:00
committed by Git OBS Bridge
parent adbb5de233
commit 7729e31800
3 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
Index: ocfs2-tools/ocfs2_hb_ctl/ocfs2_hb_ctl.c
===================================================================
--- ocfs2-tools.orig/ocfs2_hb_ctl/ocfs2_hb_ctl.c
+++ ocfs2-tools/ocfs2_hb_ctl/ocfs2_hb_ctl.c
@@ -40,6 +40,7 @@
#include <sys/stat.h>
#include <signal.h>
#include <syslog.h>
+#include <sys/resource.h>
#include "ocfs2/ocfs2.h"