From 0a9368853b0176e918d3bdecf7148afde9c616f6 Mon Sep 17 00:00:00 2001 From: Chengxiang Liu Date: Mon, 14 Jul 2025 13:39:40 +0000 Subject: [PATCH] fix(miss_headers): Add necessary headers and for functionality related to file control. --- xc-tutor.c | 2 ++ xc.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/xc-tutor.c b/xc-tutor.c index 5a69d52..941efd4 100644 --- a/xc-tutor.c +++ b/xc-tutor.c @@ -6,6 +6,8 @@ #include #include #include +#include +#include #define int intptr_t int token; // current token diff --git a/xc.c b/xc.c index 810c2a5..0c44a42 100644 --- a/xc.c +++ b/xc.c @@ -2,6 +2,8 @@ #include #include #include +#include +#include #define int long long // to work with 64bit address int debug; // print the executed instructions