Skip to content

Commit 90d1045

Browse files
committed
fix: Add missing stdlib include and disable debug tracing for benchmarks
1 parent 1dd5c5e commit 90d1045

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

include/common.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ typedef Value (*NativeFn)(int argCount, Value *args);
7575
#endif
7676

7777
// Debugging
78-
#define DEBUG_TRACE_EXECUTION
79-
#define DEBUG_PRINT_CODE
78+
// Debugging
79+
// #define DEBUG_TRACE_EXECUTION
80+
// #define DEBUG_PRINT_CODE
8081

8182
#endif // PROX_COMMON_H

src/runtime/vm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#include <string.h>
99
#include <time.h>
1010
#include <stdarg.h>
11+
#include <stdlib.h> // Required for exit()
12+
1113

1214
#include "../include/common.h"
1315
#include "../include/compiler.h"

0 commit comments

Comments
 (0)