dlm/0002-dlm_stonith-include-errno.h.patch
2012-08-16 13:22:38 -05:00

28 lines
687 B
Diff

From e8fdd228dfff06967223c7c5a36ed72129c096e7 Mon Sep 17 00:00:00 2001
From: David Teigland <teigland@redhat.com>
Date: Thu, 16 Aug 2012 12:51:13 -0500
Subject: [PATCH 2/2] dlm_stonith: include errno.h
pacemaker header now needs it
Signed-off-by: David Teigland <teigland@redhat.com>
---
fence/stonith_helper.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fence/stonith_helper.c b/fence/stonith_helper.c
index df44219..5b384c1 100644
--- a/fence/stonith_helper.c
+++ b/fence/stonith_helper.c
@@ -11,6 +11,7 @@
#include <string.h>
#include <unistd.h>
#include <syslog.h>
+#include <errno.h>
#include <pacemaker/crm/stonith-ng.h>
int nodeid;
--
1.7.10.1.362.g242cab3