aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlendi <slendi@socopon.com>2024-01-12 23:57:09 +0200
committerSlendi <slendi@socopon.com>2024-01-12 23:57:24 +0200
commit32feedeaca6492bf4bc5ffd68877e05cac8ad59a (patch)
treea600e3807f669b849d27cc4f011ed14305c45552
parentccfc82af51ae893e1ef30561f7a56fff8f50aa9e (diff)
Fix clangd autism
Signed-off-by: Slendi <slendi@socopon.com>
-rw-r--r--cbuild_impl.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/cbuild_impl.c b/cbuild_impl.c
index 43b0355..71bed29 100644
--- a/cbuild_impl.c
+++ b/cbuild_impl.c
@@ -1,18 +1,17 @@
#include "cbuild.h"
-#include <asm-generic/errno-base.h>
#include <dirent.h>
-#ifdef __TINYC__
-#define __STDC_NO_VLA__ 1
-#endif
#include <errno.h>
-#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
+#ifdef __TINYC__
+#define __STDC_NO_VLA__ 1
+#endif
+#include <regex.h>
#ifdef WIN32
#include <windows.h>