From 6480f75b236d0a1ca0cd8acffb1a0190b7c1804e Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Fri, 26 Apr 2013 18:12:23 -0500 Subject: [PATCH] compile conditionally on HAVE_MPI_H. --- library/lammpi/prologterms2c.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/lammpi/prologterms2c.c b/library/lammpi/prologterms2c.c index 4066ba100..27ae349dc 100644 --- a/library/lammpi/prologterms2c.c +++ b/library/lammpi/prologterms2c.c @@ -34,6 +34,8 @@ Comments: This file provides a set of functions to convert a prolog term to a C #include #endif +#if HAVE_MPI_H + #ifdef COMPRESS #include "minilzo.h" #endif @@ -211,3 +213,4 @@ string2term(char *const ptr,const size_t *size) { } return t; } +#ndif /* HAVE_MPI_H */