diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-09 04:00:41 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-09 17:11:56 -0700 |
commit | 8b29addc30163bb7ba74c74351f312aac02f049a (patch) | |
tree | a560e286d4b5cd3aefe152c820c06e4d776094be | |
parent | eabd5532fb589bd0550344ebd23c9765e591aadf (diff) |
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>
-rwxr-xr-x | hw/xfree86/sdksyms.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh index 18bb73523..1755f0233 100755 --- a/hw/xfree86/sdksyms.sh +++ b/hw/xfree86/sdksyms.sh @@ -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" |