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