Linux needs strcmp , include <string.h> so we get access to that function.

meow-7.2.2
Nicky Dasmijn 2020-07-18 10:27:54 +02:00 committed by Andrey Lihatskiy
parent 7bbf3f5f7f
commit 383e250fa6
1 changed files with 4 additions and 0 deletions

View File

@ -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>