diff --git a/src/STUBS/Makefile b/src/STUBS/Makefile index a194341540..3649ddb383 100644 --- a/src/STUBS/Makefile +++ b/src/STUBS/Makefile @@ -22,7 +22,7 @@ OBJ = $(SRC:.c=.o) # System-specific settings CC = g++ -CCFLAGS = -O -fPIC +CCFLAGS = -O -fPIC -I. # add -I to insure mpi.h from this dir is included ARCHIVE = ar ARCHFLAG = rs diff --git a/src/STUBS/mpi.c b/src/STUBS/mpi.c index 12ddcc4585..6b211e19e3 100644 --- a/src/STUBS/mpi.c +++ b/src/STUBS/mpi.c @@ -12,13 +12,14 @@ ------------------------------------------------------------------------ */ /* Single-processor "stub" versions of MPI routines */ +/* -I. in Makefile insures dummy mpi.h in this dir is included */ #include #include #include #include #include -#include "mpi.h" +#include /* data structure for double/int */