Commit 269651e4 authored by Mike Gabriel's avatar Mike Gabriel

Xserver/fb/fboverlay.c: Define -DMITSHM at build as it is used in fboverlay.c.

Fixes ArcticaProject/nx-libs#237.
parent dbfd7645
......@@ -6,6 +6,9 @@ NULL =
FB_DEFINES=-DFBNOPIXADDR -DFBNO24BIT
#endif
#if HasShm
SHM_DEFINES = ShmDefines
#endif
#if BuildRender
RENDERSRC = fbcompose.c
......@@ -116,6 +119,8 @@ MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif
SpecialCObjectRule(fboverlay,$(ICONFIGFILES),$(SHM_DEFINES))
#ifdef LinkDirectory
LinkSourceFile(fb24_32.c,LinkDirectory)
LinkSourceFile(fballpriv.c,LinkDirectory)
......
......@@ -32,6 +32,10 @@
#include "fb.h"
#include "fboverlay.h"
#ifdef MITSHM
#include "shmint.h"
#endif
int fbOverlayGeneration;
int fbOverlayScreenPrivateIndex = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment