Small fix for including unistd.h header file.
This commit was SVN r18758.
Этот коммит содержится в:
родитель
ad16d8f335
Коммит
d129578694
@ -18,7 +18,9 @@
|
||||
|
||||
#ifndef _OMPI_CIRCULAR_BUFFER_FIFO
|
||||
#define _OMPI_CIRCULAR_BUFFER_FIFO
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h> /* for getpagesize() */
|
||||
#endif
|
||||
|
||||
#include "ompi/constants.h"
|
||||
#include "opal/sys/cache.h"
|
||||
|
@ -27,7 +27,9 @@
|
||||
#include "mpool_rdma.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "ompi/runtime/params.h"
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
@ -21,7 +21,9 @@
|
||||
#include "orte/util/show_help.h"
|
||||
#include "ompi/mca/mpool/sm/mpool_sm.h"
|
||||
#include "ompi/mca/common/sm/common_sm_mmap.h"
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include "opal/include/opal/align.h"
|
||||
#include "opal/mca/maffinity/maffinity.h"
|
||||
#include "opal/mca/maffinity/maffinity_types.h"
|
||||
|
@ -24,7 +24,9 @@
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user