summaryrefslogtreecommitdiff
path: root/src/includes.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-17 15:53:45 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-17 16:19:10 +0100
commitcf51ab71a25cbb60ebcf13edd4b7413c23264128 (patch)
tree18b649470346c8815a156b5599ee7be1c4135a79 /src/includes.hpp
parent52090853dafb75dd99969a0cecdd291c109210f8 (diff)
input basics
Diffstat (limited to 'src/includes.hpp')
-rw-r--r--src/includes.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/includes.hpp b/src/includes.hpp
index 352286d4..a1b51b04 100644
--- a/src/includes.hpp
+++ b/src/includes.hpp
@@ -1,5 +1,11 @@
#pragma once
+// because C/C++ VS Code intellisense is stupid with includes, we will suppress them here.
+// This suppresses all "include file not found" errors.
+#ifdef __INTELLISENSE__
+#pragma diag_suppress 1696
+#endif
+
#include <X11/Xlib.h>
#include <getopt.h>
#include <libinput.h>
@@ -11,6 +17,8 @@
#include <time.h>
#include <unistd.h>
#include <wayland-server-core.h>
+#include <mutex>
+#include <thread>
#if true