diff --git a/include/eigenpy/numpy.hpp b/include/eigenpy/numpy.hpp index 466cf263f3ded24ed959232f78d5c7356906329f..2c93d7a8fc32f418114b78c5b31964343240744b 100644 --- a/include/eigenpy/numpy.hpp +++ b/include/eigenpy/numpy.hpp @@ -5,6 +5,8 @@ #ifndef __eigenpy_numpy_hpp__ #define __eigenpy_numpy_hpp__ +#include "eigenpy/config.hpp" + #ifndef PY_ARRAY_UNIQUE_SYMBOL #define PY_ARRAY_UNIQUE_SYMBOL EIGENPY_ARRAY_API #endif @@ -18,7 +20,7 @@ namespace eigenpy { - void import_numpy(); + void EIGENPY_DLLEXPORT import_numpy(); } #endif // ifndef __eigenpy_numpy_hpp__