diff --git a/ompi/mca/pml/cm/pml_cm.h b/ompi/mca/pml/cm/pml_cm.h index 2c697910d9..db04c7a77f 100644 --- a/ompi/mca/pml/cm/pml_cm.h +++ b/ompi/mca/pml/cm/pml_cm.h @@ -16,6 +16,10 @@ #ifndef PML_CM_H #define PML_CM_H +#ifdef HAVE_ALLOCA_H +#include +#endif + #include "ompi_config.h" #include "ompi/request/request.h" #include "ompi/mca/pml/pml.h"