From 36da139565202a9a39d1e4261ab8bf950041518b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 24 Aug 2025 23:55:22 +0900 Subject: feat: separate compilation --- src/sys.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sys.c') diff --git a/src/sys.c b/src/sys.c index aa7b13d..5c9a4ea 100644 --- a/src/sys.c +++ b/src/sys.c @@ -1,3 +1,6 @@ +#include "sys.h" +#include "std.h" + char* get_self_path() { char* buf = calloc(PATH_MAX, sizeof(char)); ssize_t len = readlink("/proc/self/exe", buf, PATH_MAX - 1); -- cgit v1.2.3-70-g09d2