Pārlūkot izejas kodu

egl/dri2: Fix include path of u_atomic.h introduced e7e29189

This was causing a failure to build on SCons due to a missing
-Isrc/egl. Instead of adding in that path, lets just -Isrc/
and include "utils/u_atomic.h".

Reviewed-by: Matt Turner <mattst88@gmail.com>
tags/11.0-branchpoint
Alexander von Gluck IV pirms 10 gadiem
vecāks
revīzija
ba651967a2
3 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 1
    0
      src/egl/Makefile.am
  2. 1
    0
      src/egl/SConscript
  3. 1
    1
      src/egl/drivers/dri2/egl_dri2.c

+ 1
- 0
src/egl/Makefile.am Parādīt failu

@@ -25,6 +25,7 @@ AM_CFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/egl/main \
-I$(top_srcdir)/src/gbm/main \
-I$(top_srcdir)/src \
$(DEFINES) \
$(VISIBILITY_CFLAGS) \
$(LIBDRM_CFLAGS) \

+ 1
- 0
src/egl/SConscript Parādīt failu

@@ -9,6 +9,7 @@ env = env.Clone()
env.Append(CPPPATH = [
'#/include',
'#/src/egl/main',
'#/src',
])



+ 1
- 1
src/egl/drivers/dri2/egl_dri2.c Parādīt failu

@@ -52,7 +52,7 @@
#endif

#include "egl_dri2.h"
#include "../util/u_atomic.h"
#include "util/u_atomic.h"

/* The kernel header drm_fourcc.h defines the DRM formats below. We duplicate
* some of the definitions here so that building Mesa won't bleeding-edge

Notiek ielāde…
Atcelt
Saglabāt