From 3ad9aafbd02e23c0d4a8fdb41f02ff25fa03746a Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 22 Jan 2016 06:57:38 -0800 Subject: Reduce header pollution caused by mpi.h. * eval.c: include that was previously coming via "mpi.h". * mpi/mpi.c: Includes of , and moved here. * mpi/mpi.h: Remove include of , and . Keeping for now; needed for CHAR_BIT. * mpi/mplogic.c: Needs --- mpi/mpi.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mpi/mpi.c') diff --git a/mpi/mpi.c b/mpi/mpi.c index 0b5e622f..c52e47bd 100644 --- a/mpi/mpi.c +++ b/mpi/mpi.c @@ -10,11 +10,18 @@ */ #include "config.h" -#include "mpi.h" +#if MP_IOFUNC +#include +#include +#endif #include #include #include #include +#include "mpi.h" +#if MP_ARGCHK == 2 +#include +#endif #define MAX(A, B) ((A) > (B) ? (A) : (B)) #define MIN(A, B) ((A) < (B) ? (A) : (B)) -- cgit v1.2.3