Skip to content

Commit 8baab96

Browse files
opal/mca/pmix: include opal_list.h in pmix_internal.h
"opal_list.h" happens to be included by "tsd.h" in mca/threads when a thread type is POSIX, but "mca/threads/threads.h" of other thread types do indirectly not include tsd.h and thus no "opal_list.h". "pmix_internal.h" directly uses opal_list_item_t and thus should include "opal_list.h" in its header. Signed-off-by: Shintaro Iwasaki <siwasaki@anl.gov>
1 parent 8bc5d4c commit 8baab96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opal/mca/pmix/pmix-internal.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
* Copyright (c) 2020 Amazon.com, Inc. or its affiliates.
1111
* All Rights reserved.
1212
* Copyright (c) 2021 Nanook Consulting. All rights reserved.
13+
* Copyright (c) 2021 Argonne National Laboratory. All rights
14+
* reserved.
1315
* $COPYRIGHT$
1416
*
1517
* Additional copyrights may follow
@@ -37,6 +39,7 @@
3739

3840
#include "opal/hash_string.h"
3941
#include "opal/mca/mca.h"
42+
#include "opal/class/opal_list.h"
4043
#include "opal/mca/threads/threads.h"
4144
#include "opal/util/error.h"
4245
#include "opal/util/event.h"

0 commit comments

Comments
 (0)