chiark / gitweb /
Add a #include of <stdbool.h>.
authorSimon Tatham <anakin@pobox.com>
Tue, 13 Nov 2018 21:31:32 +0000 (21:31 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 13 Nov 2018 21:31:32 +0000 (21:31 +0000)
This is the first commit in a series which will adopt C99 bool
throughout the code base where it makes sense to do so.

puzzles.h

index 2eb7647022038a26f767e5640d3cef46ddd84f2d..e36c6c6c493a26cdc61f0c71194b48851810ea27 100644 (file)
--- a/puzzles.h
+++ b/puzzles.h
@@ -8,6 +8,7 @@
 #include <stdio.h>  /* for FILE */
 #include <stdlib.h> /* for size_t */
 #include <limits.h> /* for UINT_MAX */
+#include <stdbool.h>
 
 #ifndef TRUE
 #define TRUE 1