diff options
author | Nicky Dasmijn <nicky.dasmijn@gmail.com> | 2020-07-18 10:27:54 +0200 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2020-07-22 06:48:15 +0300 |
commit | 383e250fa6484a160bc733cca981fc4cffc8de88 (patch) | |
tree | 159b417f0aec3a7f44458faeaad02ff410b545da | |
parent | 7bbf3f5f7f37330281d36ca087fe7091c2492ebe (diff) |
Linux needs strcmp , include <string.h> so we get access to that function.
-rw-r--r-- | indra/llcommon/llstl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llstl.h b/indra/llcommon/llstl.h index b024b47225..a90c2c7e08 100644 --- a/indra/llcommon/llstl.h +++ b/indra/llcommon/llstl.h @@ -36,6 +36,10 @@ #include <set> #include <typeinfo> +#ifdef LL_LINUX +// <ND> For strcmp +#include <string.h> +#endif // Use to compare the first element only of a pair // e.g. typedef std::set<std::pair<int, Data*>, compare_pair<int, Data*> > some_pair_set_t; template <typename T1, typename T2> |