diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-07-08 16:16:40 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-12-28 13:15:24 +0100 |
commit | 433d8186588698ce6a435fbff5e9d40a37b78be9 (patch) | |
tree | 1f13c31901460fd31786b6d50b6c9841d25be99e /nx-X11/lib/Xtst | |
parent | f58006d932d907dc13d76084e9171de59ee27f16 (diff) | |
download | nx-libs-433d8186588698ce6a435fbff5e9d40a37b78be9.tar.gz nx-libs-433d8186588698ce6a435fbff5e9d40a37b78be9.tar.bz2 nx-libs-433d8186588698ce6a435fbff5e9d40a37b78be9.zip |
Clear header file namespace separation (<X11/...> vs. <nx-X11/...>).
In the process of building nxagent against more and more system-wide installed
X.org libraries, we come to the limit of including structs from this (bundled
nx-X11) and that (system-wide X.Org) library.
This commit introduces a clear namespace separation of headers provided by
nx-X11 and headers provided by X.Org. This approach is only temporary as we
want to drop all nx-X11 bundled libraries from nx-libs.
However, for a while we need to make this separation clear and also ship
some reduced fake X.Org headers that avoid pulling in libX* and libNX_X*
symbols at the same time.
This patch has been tested on Debian jessie and unstable and requires no
overall testing on various distros and distro versions, as we finally will
drop all libNX_X* libraries and build against X.org's client libs.
For now, this hack eases our development / cleanup process.
Diffstat (limited to 'nx-X11/lib/Xtst')
-rw-r--r-- | nx-X11/lib/Xtst/XRecord.c | 8 | ||||
-rw-r--r-- | nx-X11/lib/Xtst/XTest.c | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/nx-X11/lib/Xtst/XRecord.c b/nx-X11/lib/Xtst/XRecord.c index 05cbda889..8e1823ef9 100644 --- a/nx-X11/lib/Xtst/XRecord.c +++ b/nx-X11/lib/Xtst/XRecord.c @@ -56,10 +56,10 @@ from The Open Group. #include <assert.h> #define NEED_EVENTS #define NEED_REPLIES -#include <X11/Xlibint.h> -#include <X11/extensions/Xext.h> -#include <X11/extensions/extutil.h> -#include <X11/extensions/recordstr.h> +#include <nx-X11/Xlibint.h> +#include <nx-X11/extensions/Xext.h> +#include <nx-X11/extensions/extutil.h> +#include <nx-X11/extensions/recordstr.h> static XExtensionInfo _xrecord_info_data; static XExtensionInfo *xrecord_info = &_xrecord_info_data; diff --git a/nx-X11/lib/Xtst/XTest.c b/nx-X11/lib/Xtst/XTest.c index 2c3ae2b41..6b814aab4 100644 --- a/nx-X11/lib/Xtst/XTest.c +++ b/nx-X11/lib/Xtst/XTest.c @@ -33,13 +33,13 @@ from The Open Group. /* $XFree86: xc/lib/Xtst/XTest.c,v 1.5 2001/12/14 19:56:40 dawes Exp $ */ #define NEED_REPLIES -#include <X11/Xlibint.h> -#include <X11/extensions/XTest.h> -#include <X11/extensions/xteststr.h> -#include <X11/extensions/Xext.h> -#include <X11/extensions/extutil.h> -#include <X11/extensions/XInput.h> -#include <X11/extensions/XIproto.h> +#include <nx-X11/Xlibint.h> +#include <nx-X11/extensions/XTest.h> +#include <nx-X11/extensions/xteststr.h> +#include <nx-X11/extensions/Xext.h> +#include <nx-X11/extensions/extutil.h> +#include <nx-X11/extensions/XInput.h> +#include <nx-X11/extensions/XIproto.h> static XExtensionInfo _xtest_info_data; static XExtensionInfo *xtest_info = &_xtest_info_data; |