Commit 0dadb4b8 authored by Povilas Kanapickas's avatar Povilas Kanapickas
Browse files

Undefine min, max macros coming from Xlibint.h

parent bf03dd99
...@@ -46,6 +46,11 @@ ...@@ -46,6 +46,11 @@
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xlibint.h> #include <X11/Xlibint.h>
// undef macros with frequently-used names which are defined in Xlibint.h
#undef min
#undef max
#include <X11/extensions/XInput2.h> #include <X11/extensions/XInput2.h>
struct xorg::testing::XServer::Private { struct xorg::testing::XServer::Private {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment