6897844: Fix broken build on newer versions of X11 (libXext >= 1.1.0)

Recent changes to X11's header structure break the build

Reviewed-by: prr, flar
This commit is contained in:
Andrew John Hughes 2009-11-03 23:23:15 +00:00
parent 041e6cb967
commit d45297718d

View File

@ -42,6 +42,10 @@
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>
#ifndef X_ShmAttach
#include <X11/Xmd.h>
#include <X11/extensions/shmproto.h>
#endif
extern int XShmQueryExtension();