Function prototypes are mandatory with C++. The compilation fails with gcc-4.3.1. This adds needed header inclusion (algorithm) for std::find() function.
Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]> --- Same story as with previous patch, but now in ibmgtsim (not included in default ibutils build). ibmgtsim/src/node.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ibmgtsim/src/node.cpp b/ibmgtsim/src/node.cpp index 04f087c..8bc35ae 100644 --- a/ibmgtsim/src/node.cpp +++ b/ibmgtsim/src/node.cpp @@ -50,6 +50,7 @@ #include "node.h" #include "sim.h" #include "randmgr.h" +#include <algorithm> ////////////////////////////////////////////////////////////// // -- 1.6.0.1.196.g01914 _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
