summaryrefslogtreecommitdiffhomepage
path: root/lib/fs.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-08-09 01:35:55 +0200
committerGitHub <noreply@github.com>2023-08-09 01:35:55 +0200
commit5d265bd52f40dd94671783148e4e6ff068c8153a (patch)
treec70e0e687e59911fb0a6ed6b03cd5b78b8f33ac6 /lib/fs.c
parenta38315454add264a41094524e1fcf435acb85fe8 (diff)
parent6940c283d57d2c4e2ddab689fdba770823b8bcc0 (diff)
Merge pull request #167 from jow-/debug-library
Introduce debug library
Diffstat (limited to 'lib/fs.c')
-rw-r--r--lib/fs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/fs.c b/lib/fs.c
index e00f7fa..0f03ad4 100644
--- a/lib/fs.c
+++ b/lib/fs.c
@@ -60,11 +60,8 @@
#include <limits.h>
#include <fcntl.h>
-#ifndef __APPLE__
-#include <sys/sysmacros.h> /* major(), minor() */
-#endif
-
#include "ucode/module.h"
+#include "ucode/platform.h"
#define err_return(err) do { last_error = err; return NULL; } while(0)