diff --git a/cv_bridge/src/module.hpp b/cv_bridge/src/module.hpp index 92153ac80..c5ce3442f 100644 --- a/cv_bridge/src/module.hpp +++ b/cv_bridge/src/module.hpp @@ -37,6 +37,7 @@ PyObject* pyopencv_from(const cv::Mat& m); static int do_numpy_import( ) { import_array( ); + return NULL; } #else static void do_numpy_import( )