diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-09-15 13:34:07 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-09-15 13:34:07 +0900 |
| commit | edb1612b9f5d5485528e24470b88a7d602772ad6 (patch) | |
| tree | 2bca7625a11bb59a2abb860e8b73fc43f6e1987b /src/sys.c | |
| parent | 6994805cd5cbb17ae4ff5513ec776bb08eddec6c (diff) | |
| download | ducc-edb1612b9f5d5485528e24470b88a7d602772ad6.tar.gz ducc-edb1612b9f5d5485528e24470b88a7d602772ad6.tar.zst ducc-edb1612b9f5d5485528e24470b88a7d602772ad6.zip | |
refactor: remove src/std.h
Diffstat (limited to 'src/sys.c')
| -rw-r--r-- | src/sys.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -2,13 +2,7 @@ #include <libgen.h> #include <linux/limits.h> #include <stdlib.h> -#include "std.h" - -// TODO: #inclue some header. -#ifndef __ducc__ -typedef long ssize_t; -#endif -ssize_t readlink(const char*, char*, size_t); +#include <unistd.h> static char* get_self_path() { char* buf = calloc(PATH_MAX, sizeof(char)); |
