loader: when creating sdksyms.c only include shmint.h if MITSHM is enabled #29109
https://bugs.freedesktop.org/show_bug.cgi?id=29109 When configured with --disable-mitshm the symbols declared in shmint.h do not exist. By guarding the include with '#ifdef MITSHM' these symbols are skipped when generating sdksyms.c with --disable-mitshm. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
eabd5532fb
commit
8b29addc30
|
@ -52,7 +52,9 @@ cat > sdksyms.c << EOF
|
||||||
*/
|
*/
|
||||||
#include "geext.h"
|
#include "geext.h"
|
||||||
#include "geint.h"
|
#include "geint.h"
|
||||||
|
#ifdef MITSHM
|
||||||
#include "shmint.h"
|
#include "shmint.h"
|
||||||
|
#endif
|
||||||
#include "syncsdk.h"
|
#include "syncsdk.h"
|
||||||
#if XINERAMA
|
#if XINERAMA
|
||||||
# include "panoramiXsrv.h"
|
# include "panoramiXsrv.h"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user