Commit e1c010f2 authored by Chase Douglas's avatar Chase Douglas
Browse files

Namespace xorg-gtest header filenames



Due to the default automake compilation flags including -I. -I.., it is
possible to pick up an xorg-gtest header like device.h instead of a
project header. Namespacing the headers should resolve this issue. Users
should be including xorg-gtest.h instead of individual headers, so this
should not cause compilation failures.
Signed-off-by: default avatarChase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent d57dc7dc
......@@ -24,8 +24,8 @@
#
nobase_include_HEADERS = \
xorg/gtest/environment.h \
xorg/gtest/process.h \
xorg/gtest/test.h \
xorg/gtest/evemu/device.h \
xorg/gtest/xorg-gtest_environment.h \
xorg/gtest/xorg-gtest_process.h \
xorg/gtest/xorg-gtest_test.h \
xorg/gtest/evemu/xorg-gtest_device.h \
xorg/gtest/xorg-gtest.h
......@@ -25,10 +25,10 @@
*
******************************************************************************/
#include "environment.h"
#include "process.h"
#include "test.h"
#include "xorg-gtest_environment.h"
#include "xorg-gtest_process.h"
#include "xorg-gtest_test.h"
#ifdef HAVE_EVEMU
#include "evemu/device.h"
#include "evemu/xorg-gtest_device.h"
#endif
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