[Debian-ha-maintainers] Bug#780199: Bug confirmed, patch
Michael Tautschnig
mt at debian.org
Sat Mar 21 21:46:55 UTC 2015
Control: tags 780199 +patch
Hello,
This is just to confirm that the build is broken due to the same include guards
being used in different header files, as identified by James earlier.
The attached patch fixes the problem, although the choice of include guard
amendment is somewhat arbitrary.
Best,
Michael
-------------- next part --------------
diff -urN a/rgmanager/include/platform.h b/rgmanager/include/platform.h
--- a/rgmanager/include/platform.h 2015-03-21 15:28:28.000000000 +0000
+++ b/rgmanager/include/platform.h 2015-03-21 15:29:44.000000000 +0000
@@ -1,8 +1,8 @@
/** @file
* Defines for byte-swapping
*/
-#ifndef _PLATFORM_H
-#define _PLATFORM_H
+#ifndef RG_PLATFORM_H
+#define RG_PLATFORM_H
#include <endian.h>
#include <sys/param.h>
@@ -56,4 +56,4 @@
#define PACKED __attribute__((packed))
#endif
-#endif /* _PLATFORM_H */
+#endif /* RG_PLATFORM_H */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20150321/e2de5062/attachment.sig>
More information about the Debian-ha-maintainers
mailing list