diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-19 12:44:50 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-19 12:44:50 +0000 |
| commit | 657a37772f5fa61d1e54bf9134e370d83c3a27c9 (patch) | |
| tree | 5e2f4aaff0249291e853fff4a227576f128d69a2 | |
| parent | e7d93713fee4968c32245d7fd712d10249eeb572 (diff) | |
Core: in backward_comp.h, include string.h if g_strcmp0 is used
* lasso/backward_comp.h:
implementation of g_strcmp0 depends upon string.h.
| -rw-r--r-- | lasso/backward_comp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lasso/backward_comp.h b/lasso/backward_comp.h index 65412cbd..01101e5d 100644 --- a/lasso/backward_comp.h +++ b/lasso/backward_comp.h @@ -31,6 +31,8 @@ /* GLIB backward-compatibility */ #if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 16) +#include <string.h> + static inline int g_strcmp0(const char *str1, const char *str2) { if (str1 == NULL && str2 == NULL) { return 0; |
