Skip to content

fix missing include in opal_datatype_internal.h #9005

@tkordenbrock

Description

@tkordenbrock

While cleaning up errors in the Portals4 components discovered after merging #8647, coll_portals4_request.c fails to compile because opal_datatype_internal.h is missing stddef.h.

  CC       coll_portals4_request.lo
In file included from ../../../../../../../ompi/datatype/ompi_datatype_internal.h:31:0,
                 from ../../../../../../../ompi/mca/coll/portals4/coll_portals4_component.c:27:
../../../../../../../opal/datatype/opal_datatype_internal.h:130:5: error: unknown type name 'ptrdiff_t'
     ptrdiff_t extent;               /**< extent of each block (in bytes) */
     ^~~~~~~~~
../../../../../../../opal/datatype/opal_datatype_internal.h:131:5: error: unknown type name 'ptrdiff_t'
     ptrdiff_t disp;                 /**< displacement of the first block */
     ^~~~~~~~~
../../../../../../../opal/datatype/opal_datatype_internal.h:148:5: error: unknown type name 'ptrdiff_t'
     ptrdiff_t extent;               /**< extent of the whole loop */
     ^~~~~~~~~
../../../../../../../opal/datatype/opal_datatype_internal.h:157:5: error: unknown type name 'ptrdiff_t'
     ptrdiff_t first_elem_disp;      /**< the displacement of the first block in the loop */
     ^~~~~~~~~

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions