Permalink
Browse files

Fix build on Ubuntu arm64 platform

This fixes the build when GL* structs are undefined.
  • Loading branch information...
1 parent 46cb8fe commit 19f40bbe503e62380623b2622c082362987659cf @LocutusOfBorg LocutusOfBorg committed on GitHub Sep 8, 2016
Showing with 7 additions and 0 deletions.
  1. +7 −0 apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/cloud.h
@@ -45,6 +45,13 @@
#include <QtGui/QColor>
#include <pcl/apps/point_cloud_editor/localTypes.h>
#include <pcl/apps/point_cloud_editor/statistics.h>
+#ifdef OPENGL_IS_A_FRAMEWORK
+# include <OpenGL/gl.h>
+# include <OpenGL/glu.h>
+#else
+# include <GL/gl.h>
+# include <GL/glu.h>
+#endif
/// @brief A wrapper which allows to use any implementation of cloud provided by
/// a third-party library.

0 comments on commit 19f40bb

Please sign in to comment.