Add missing include file so that Absoft compile tests will pass
This commit was SVN r21572.
Этот коммит содержится в:
родитель
da6c7e4518
Коммит
de90bd8285
@ -21,6 +21,7 @@
|
||||
#include "ompi_config.h"
|
||||
#include "mpi.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
@ -115,7 +116,7 @@ void ompi_info_do_params(bool want_all_in, bool want_internal)
|
||||
|
||||
if (want_all) {
|
||||
for (i = 0; i < mca_types.size; ++i) {
|
||||
if (NULL == (type = (char *) opal_pointer_array_get_item(&mca_types, i))) {
|
||||
if (NULL == (type = opal_pointer_array_get_item(&mca_types, i))) {
|
||||
continue;
|
||||
}
|
||||
ompi_info_show_mca_params(info, type, ompi_info_component_all, want_internal);
|
||||
@ -126,7 +127,7 @@ void ompi_info_do_params(bool want_all_in, bool want_internal)
|
||||
component = opal_cmd_line_get_param(ompi_info_cmd_line, "param", (int)i, 1);
|
||||
|
||||
for (found = false, i = 0; i < mca_types.size; ++i) {
|
||||
if (NULL == (str = (char *) opal_pointer_array_get_item(&mca_types, i))) {
|
||||
if (NULL == (str = opal_pointer_array_get_item(&mca_types, i))) {
|
||||
continue;
|
||||
}
|
||||
if (0 == strcmp(str, type)) {
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "ompi_config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "opal/version.h"
|
||||
#include "orte/version.h"
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user