Skip to content

Commit 931ddfb

Browse files
committed
FIX: missing include when used SHOW_SIZEOFS define
1 parent 36828a2 commit 931ddfb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/b-init.c

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
** REBOL [R3] Language Interpreter and Run-time Environment
44
**
55
** Copyright 2012 REBOL Technologies
6-
** Copyright 2012-2021 Rebol Open Source Contributors
6+
** Copyright 2012-2022 Rebol Open Source Contributors
77
** REBOL is a trademark of REBOL Technologies
88
**
99
** Licensed under the Apache License, Version 2.0 (the "License");
@@ -29,6 +29,9 @@
2929
***********************************************************************/
3030

3131
#include "sys-core.h"
32+
#ifdef SHOW_SIZEOFS
33+
#include <stdio.h>
34+
#endif
3235

3336
#define EVAL_DOSE 10000
3437

@@ -95,6 +98,7 @@ extern const REBYTE Str_Banner[];
9598
printf("%u %s\n", (REBCNT)sizeof(REBUDT), "utype");
9699
printf("%u %s\n", (REBCNT)sizeof(REBDCI), "deci");
97100
printf("%u %s\n", (REBCNT)sizeof(REBHAN), "handle");
101+
printf("%u %s\n", (REBCNT)sizeof(REBHOB), "hob");
98102
printf("%u %s\n", (REBCNT)sizeof(REBALL), "all");
99103
#endif
100104

0 commit comments

Comments
 (0)