diff --git a/ortools/linear_solver/highs_interface.cc b/ortools/linear_solver/highs_interface.cc index 1d99289867..3b815620cc 100644 --- a/ortools/linear_solver/highs_interface.cc +++ b/ortools/linear_solver/highs_interface.cc @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#if defined(USE_HIGHS) + #include #include #include @@ -309,3 +311,4 @@ MPSolverInterface* BuildHighsInterface(MPSolver* const solver, } } // namespace operations_research +#endif // #if defined(USE_HIGHS)