Skip to content

Commit

Permalink
Use consistent conditionals in render_system.hpp (#1294)
Browse files Browse the repository at this point in the history
These header files define the XVisualInfo type, which is used later in
this header based on different conditionals. In particular, the
evaluation of these conditionals differ on BSD, which appears to have
the headers needed so I don't believe that __linux__ is the correct
conditional to use.

Signed-off-by: Scott K Logan <[email protected]>
  • Loading branch information
cottsay authored Nov 11, 2024
1 parent f7112b1 commit 0d95ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rviz_rendering/include/rviz_rendering/render_system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

#include <QDir> // NOLINT cpplint cannot handle include order here

#ifdef __linux__
#if !defined(__APPLE__) && !defined(_WIN32)

#include <X11/Xutil.h>
#include <GL/glx.h>
Expand Down

0 comments on commit 0d95ae1

Please sign in to comment.