All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] idle: Include stdbool.h by default in the header
@ 2014-11-12 13:53 Tomasz Bursztyka
  2014-11-12 14:08 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Bursztyka @ 2014-11-12 13:53 UTC (permalink / raw)
  To: ell

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

---
idlers use bool, but it's not included by their header.
Figured that one when playing with a unit test.

 ell/idle.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ell/idle.h b/ell/idle.h
index a75bc9b..19ae4d3 100644
--- a/ell/idle.h
+++ b/ell/idle.h
@@ -23,6 +23,8 @@
 #ifndef __ELL_IDLE_H
 #define __ELL_IDLE_H
 
+#include <stdbool.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-- 
2.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-12 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12 13:53 [PATCH] idle: Include stdbool.h by default in the header Tomasz Bursztyka
2014-11-12 14:08 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.