Fix order of macros

This commit is contained in:
CharlesThobe 2023-05-01 13:29:30 +03:00
parent a003832e33
commit 8483738bf0
1 changed files with 4 additions and 2 deletions

View File

@ -8,11 +8,13 @@
#include <cinttypes> #include <cinttypes>
Log_SetChannel(FrontendCommon); Log_SetChannel(FrontendCommon);
#include <spawn.h>
#include <unistd.h>
#ifdef USE_X11 #ifdef USE_X11
#include <cstdio> #include <cstdio>
#include <spawn.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <unistd.h>
static bool SetScreensaverInhibitX11(bool inhibit, const WindowInfo& wi) static bool SetScreensaverInhibitX11(bool inhibit, const WindowInfo& wi)
{ {