mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 04:40:10 +01:00
The recent re-addition of the xf86dga.h file introduced an incompatibility with a recent, but unreleased version of libXxf86dga which also wanted to install a file of the same name. Instead, we allow the proto package to own this file, and include the library's version (now to be named Xxf86dga.h) unless we're building an old server (indicated by _XF86DGA_SERVER_).
13 lines
369 B
C
13 lines
369 B
C
#ifdef _XF86DGA_SERVER_
|
|
|
|
#warning "xf86dga.h is obsolete and may be removed in the future."
|
|
#warning "include <X11/extensions/xf86dgaconst.h> instead."
|
|
#include <X11/extensions/xf86dgaconst.h>
|
|
|
|
#else
|
|
|
|
#warning "xf86dga.h is obsolete and may be removed in the future."
|
|
#warning "include <X11/extensions/Xxf86dga.h> instead."
|
|
#include <X11/extensions/Xxf86dga.h>
|
|
|
|
#endif
|