summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-07 22:32:59 -0500
committerpommicket <pommicket@gmail.com>2023-01-07 22:32:59 -0500
commit01d5fcc72f6ea29d0f90b845b7565137e7daac14 (patch)
tree39346ae60c418345612ad6c6634943cc630d713d /main.c
parentcb55279a20865fcfde23a160233155d23a09a03b (diff)
fix tags go-to-definition menu, silence errors for LSP not found
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 8073262..71467ba 100644
--- a/main.c
+++ b/main.c
@@ -55,6 +55,9 @@ FUTURE FEATURES:
#if __linux__
#include <execinfo.h>
#endif
+#if __unix__
+#include <unistd.h>
+#endif
#if _WIN32
#include <shellapi.h>
#pragma comment(lib, "dbghelp.lib")