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

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 */

Attachment: pgpiiYapDvmvS.pgp
Description: PGP signature

Reply via email to