cgit

commit e09574bdf6cfbd21ff0a58a18f34d4a11db824d7

Author: John Keeping <john@keeping.me.uk>

cgit.h: move stdbool.h from ui-shared.h

Follow the Git policy of including system headers in only one place.

Signed-off-by: John Keeping <john@keeping.me.uk>

 cgit.h | 2 ++
 ui-shared.h | 2 --


diff --git a/cgit.h b/cgit.h
index 31205622d49784bfca1beb8ba12d2f9c0431c6ed..508179a7fccad8f26027a51b27ed5f2541a2e68a 100644
--- a/cgit.h
+++ b/cgit.h
@@ -3,6 +3,8 @@ #define CGIT_H
 
 
 #include <git-compat-util.h>
+#include <stdbool.h>
+
 #include <cache.h>
 #include <grep.h>
 #include <object.h>




diff --git a/ui-shared.h b/ui-shared.h
index 788b1bca5191e490a00e9a0b84e01fba9fa7a00e..d8a3551bd87cca1165f7fb13a3740b931161a121 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -1,8 +1,6 @@
 #ifndef UI_SHARED_H
 #define UI_SHARED_H
 
-#include <stdbool.h>
-
 extern const char *cgit_httpscheme();
 extern const char *cgit_hosturl();
 extern const char *cgit_rooturl();