1
1

Fix a missing header file and ensure we use a portable name for a system limit

This commit was SVN r18712.
Этот коммит содержится в:
Ralph Castain 2008-06-23 22:32:26 +00:00
родитель 378b0010c5
Коммит f70b7e51ce

Просмотреть файл

@ -24,6 +24,9 @@
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#if OMPI_WANT_LIBLTDL
#include "opal/libltdl/ltdl.h"
@ -186,7 +189,7 @@ int mca_base_component_find(const char *directory, const char *type,
}
if (opal_list_get_end(found_components) == item) {
char h[HOST_NAME_MAX];
char h[MAXHOSTNAMELEN];
gethostname(h, sizeof(h));
opal_show_help("help-mca-base.txt",
"find-available:not-valid", true,