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:
Jeremy Huddleston 2011-10-09 04:00:41 -07:00
parent eabd5532fb
commit 8b29addc30

View File

@ -52,7 +52,9 @@ cat > sdksyms.c << EOF
*/
#include "geext.h"
#include "geint.h"
#ifdef MITSHM
#include "shmint.h"
#endif
#include "syncsdk.h"
#if XINERAMA
# include "panoramiXsrv.h"