Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -592,18 +592,17 @@ AC_CACHE_SAVE
opal_show_title "Header file tests"

AC_CHECK_HEADERS([alloca.h aio.h arpa/inet.h dirent.h \
dlfcn.h execinfo.h err.h fcntl.h grp.h inttypes.h libgen.h \
dlfcn.h execinfo.h err.h fcntl.h grp.h libgen.h \
libutil.h memory.h netdb.h netinet/in.h netinet/tcp.h \
poll.h pthread.h pty.h pwd.h sched.h stdint.h stddef.h \
stdlib.h string.h strings.h stropts.h sys/fcntl.h sys/ipc.h sys/shm.h \
poll.h pthread.h pty.h pwd.h sched.h \
strings.h stropts.h sys/fcntl.h sys/ipc.h sys/shm.h \
sys/ioctl.h sys/mman.h sys/param.h sys/queue.h \
sys/resource.h sys/select.h sys/socket.h sys/sockio.h \
stdarg.h sys/stat.h sys/statfs.h sys/statvfs.h sys/time.h sys/tree.h \
sys/stat.h sys/statfs.h sys/statvfs.h sys/time.h sys/tree.h \
sys/types.h sys/uio.h sys/un.h net/uio.h sys/utsname.h sys/vfs.h sys/wait.h syslog.h \
time.h termios.h ulimit.h unistd.h util.h utmp.h malloc.h \
ifaddrs.h crt_externs.h regex.h signal.h \
mntent.h paths.h \
ioLib.h sockLib.h hostLib.h shlwapi.h sys/synch.h limits.h db.h ndbm.h])
termios.h ulimit.h unistd.h util.h utmp.h malloc.h \
ifaddrs.h crt_externs.h regex.h mntent.h paths.h \
ioLib.h sockLib.h hostLib.h shlwapi.h sys/synch.h db.h ndbm.h])

AC_CHECK_HEADERS([sys/mount.h], [], [],
[AC_INCLUDES_DEFAULT
Expand Down
2 changes: 0 additions & 2 deletions ompi/attribute/attribute_predefined.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@

#include "ompi_config.h"

#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif

#include "mpi.h"

Expand Down
6 changes: 0 additions & 6 deletions ompi/datatype/ompi_datatype.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,9 @@
#include "ompi_config.h"

#include <stddef.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif

#include "ompi/constants.h"
#include "opal/datatype/opal_convertor.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/datatype/ompi_datatype_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
#include "ompi_config.h"

#include <stddef.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "opal/class/opal_pointer_array.h"
#include "ompi/datatype/ompi_datatype.h"
Expand Down
4 changes: 0 additions & 4 deletions ompi/debuggers/ompi_mpihandles_dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@

#include "ompi_config.h"

#if defined(HAVE_STRING_H)
#include <string.h>
#endif /* defined(HAVE_STRING_H) */
#if defined(HAVE_STDLIB_H)
#include <stdlib.h>
#endif /* defined(HAVE_STDLIB_H) */

#include "ompi/mca/pml/base/pml_base_request.h"
#include "mpihandles_interface.h"
Expand Down
4 changes: 0 additions & 4 deletions ompi/debuggers/ompi_msgq_dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,8 @@
#ifdef HAVE_NO_C_CONST
#define const
#endif
#if defined(HAVE_STRING_H)
#include <string.h>
#endif /* defined(HAVE_STRING_H) */
#if defined(HAVE_STDLIB_H)
#include <stdlib.h>
#endif /* defined(HAVE_STDLIB_H) */

/* Notice to developers!!!!
* The following include files with _dbg.h suffixes contains definitions
Expand Down
2 changes: 0 additions & 2 deletions ompi/errhandler/errcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
#include "ompi_config.h"

#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "mpi.h"

Expand Down
2 changes: 0 additions & 2 deletions ompi/errhandler/errhandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "ompi/communicator/communicator.h"
#include "ompi/win/win.h"
Expand Down
4 changes: 0 additions & 4 deletions ompi/info/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,9 @@
#include "ompi_config.h"
#include "ompi/constants.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include <errno.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/coll/cuda/coll_cuda_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include <stdio.h>

#include "coll_cuda.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/coll/ml/coll_ml_allocation.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@


#include "ompi_config.h"
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif /* HAVE_STDLIB_H */

#include "coll_ml.h"
#include "coll_ml_inlines.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/coll/sm/coll_sm_bcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "opal/datatype/opal_convertor.h"
#include "ompi/constants.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/coll/sm/coll_sm_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
#include "ompi_config.h"

#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_SCHED_H
#include <sched.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/coll/sm/coll_sm_reduce.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "opal/datatype/opal_convertor.h"
#include "opal/sys/atomic.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/dpm/base/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
#include "ompi_config.h"
#include "ompi/constants.h"

#if HAVE_TIME_H
#include <time.h>
#endif
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/dpm/base/dpm_base_null_fns.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
#include "ompi_config.h"
#include <string.h>
#include <stdio.h>
#if HAVE_TIME_H
#include <time.h>
#endif
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/dpm/dpm.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@

#include "ompi_config.h"

#if HAVE_TIME_H
#include <time.h>
#endif
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/dpm/orte/dpm_orte.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#if HAVE_TIME_H
#include <time.h>
#endif
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/io/romio314/romio/adio/ad_xfs/ad_xfs_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

#include "ad_xfs.h"
#include <sys/ioctl.h>
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif

#ifndef HAVE_LSEEK64
#define lseek64 lseek
Expand Down
4 changes: 0 additions & 4 deletions ompi/mca/io/romio314/romio/adio/common/system_hints.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/op/base/op_base_frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "opal/util/output.h"
#include "ompi/mca/mca.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/osc/osc.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@

#include "opal_config.h"

#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif

#include "ompi/mca/mca.h"

Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/pml/base/pml_base_frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
#include "ompi_config.h"
#include <stdio.h>

#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNIST_H */
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/pml/base/pml_base_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "opal/class/opal_list.h"
#include "opal/util/output.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/pml/v/pml_v_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
#if defined(HAVE_STRING_H)
#include <string.h>
#endif

int pml_v_output_open(char *output, int verbosity) {
opal_output_stream_t lds;
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/topo/base/topo_base_cart_get.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "ompi/mca/topo/base/base.h"
#include "ompi/communicator/communicator.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/mca/vprotocol/base/vprotocol_base_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "base.h"
#include "ompi/mca/mca.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/mpi/java/c/mpi_Intracomm.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@
#include "ompi_config.h"

#include <stdlib.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_TARGETCONDITIONALS_H
#include <TargetConditionals.h>
#endif
Expand Down
4 changes: 0 additions & 4 deletions ompi/mpi/java/c/mpi_MPI.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,8 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_TARGETCONDITIONALS_H
#include <TargetConditionals.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions ompi/peruse/peruse.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
*/

#include "ompi_config.h"
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include "mpi.h"
#include "ompi/peruse/peruse.h"
#include "ompi/peruse/peruse-internal.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/peruse/peruse_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
*/

#include "ompi_config.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include "mpi.h"
#include "ompi/peruse/peruse.h"
#include "ompi/peruse/peruse-internal.h"
Expand Down
4 changes: 0 additions & 4 deletions ompi/runtime/ompi_mpi_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@

#include "ompi_config.h"

#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif /* HAVE_TIME_H */

#include "ompi/constants.h"
#include "ompi/datatype/ompi_datatype.h"
Expand Down
2 changes: 0 additions & 2 deletions ompi/tools/ompi_info/ompi_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
#include <sys/param.h>
#endif
#include <errno.h>
#ifdef HAVE_SIGNAL_H
#include <signal.h>
#endif

#include "opal/version.h"
#include "opal/mca/installdirs/installdirs.h"
Expand Down
2 changes: 0 additions & 2 deletions opal/class/opal_hash_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@

#include "opal_config.h"

#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include "opal/class/opal_list.h"
#include "opal/util/proc.h"

Expand Down
2 changes: 0 additions & 2 deletions opal/class/opal_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@

#include "opal_config.h"
#include <assert.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif /* HAVE_STDLIB_H */

#include "opal/sys/atomic.h"

Expand Down
Loading