
19 Nov
2013
19 Nov
'13
5:37 a.m.
Hi.
I posted v2 of this patch http://patchwork.ozlabs.org/patch/292258/
I think both of two solutions work.
(1) include <stdbool.h> in common/cmd_test.c but undef true and false. http://patchwork.ozlabs.org/patch/292247/
(2) Do not include <stdbool.h> and define true and false with enum. http://patchwork.ozlabs.org/patch/292258/
Personally, I prefer (2) to (1) because - we don't need to tweak common/cmd_test.c any more - we can reduce the conflict if we have a plan to update Linux-originated header files.
Best Regards Masahiro Yamada