Hyprland/src/includes.hpp

37 lines
717 B
C++
Raw Normal View History

2022-03-16 20:50:55 +01:00
#pragma once
2022-03-17 15:53:45 +01:00
// 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
2022-03-16 20:50:55 +01:00
#include <getopt.h>
#include <libinput.h>
#include <linux/input-event-codes.h>
#include <csignal>
#include <cstdio>
#include <cstdlib>
2022-03-16 20:50:55 +01:00
#include <sys/wait.h>
#include <ctime>
2022-03-16 20:50:55 +01:00
#include <unistd.h>
#include <wayland-server-core.h>
2022-03-16 22:21:12 +01:00
2022-04-13 17:34:13 +02:00
#ifdef LEGACY_RENDERER
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#define GLES2
#else
#define GLES32
2022-03-24 16:07:01 +01:00
#include <GLES3/gl32.h>
#include <GLES3/gl3ext.h>
2022-04-13 17:34:13 +02:00
#endif
2022-03-24 16:07:01 +01:00
2022-04-20 15:58:02 +02:00
#ifdef NO_XWAYLAND
#define XWAYLAND false
#else
#define XWAYLAND true
#endif
#include "SharedDefs.hpp"