diff --git a/src/streq.h b/src/streq.h
index daed17cf05e60982f7641e5409ecb484a18caaf9..06f78e1e5584e6c782714e5b341d652f33fbbe1b 100644 (file)
--- a/src/streq.h
+++ b/src/streq.h
#define INKSCAPE_STREQ_H
#include <cstring>
+#include <string>
/** Convenience/readability wrapper for strcmp(a,b)==0. */
inline bool
return std::strcmp(a, b) == 0;
}
+struct streq_rel {
+ bool operator()(char const *a, char const *b) const
+ {
+ return (std::strcmp(a, b) == 0);
+ }
+};
#endif /* !INKSCAPE_STREQ_H */