Skip to content

Commit

Permalink
Merge pull request #3191 from taketwo/fix-pcl-config-include
Browse files Browse the repository at this point in the history
Include pcl_config.h before checking HAVE_OPENNI2
  • Loading branch information
SergioRAgostinho authored Jun 24, 2019
2 parents 10991fa + e93e63f commit d820695
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions io/include/pcl/io/openni2_grabber.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
*/

#pragma once

#ifdef HAVE_OPENNI2

#include <pcl/pcl_config.h>

#ifdef HAVE_OPENNI2

#include <pcl/io/eigen.h>
#include <pcl/io/boost.h>
#include <pcl/io/grabber.h>
Expand Down
1 change: 1 addition & 0 deletions io/include/pcl/io/openni_grabber.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#pragma once

#include <pcl/pcl_config.h>

#ifdef HAVE_OPENNI

#include <pcl/io/eigen.h>
Expand Down

0 comments on commit d820695

Please sign in to comment.