]> gcc.gnu.org Git - gcc.git/commitdiff
[modula2] Add missing stdbool to testcode
authorGaius Mulley <gaiusmod2@gmail.com>
Thu, 16 Mar 2023 21:50:02 +0000 (21:50 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Thu, 16 Mar 2023 21:50:02 +0000 (21:50 +0000)
The type bool is now used to represent BOOLEAN.  The C source
must now include <stdbool.h>.

gcc/testsuite/ChangeLog:

* gm2/types/run/pass/d.c: Add missing include <stdbool.h>.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/testsuite/gm2/types/run/pass/d.c

index 31d497d121e8d6f1ff2551afd0a84313fe6667e6..36eea84df4cf819e9953df6cea166dde3b68ffe8 100644 (file)
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along
 with gm2; see the file COPYING.  If not, write to the Free Software
 Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
 
+#include <stdbool.h>
+
 void exit (int);
 
 typedef struct {
This page took 0.06573 seconds and 5 git commands to generate.