From 2b463946a859f67018160066e246af484f5c68d1 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 22 Jan 2009 22:59:47 +0100 Subject: [PATCH] Fix local copy of g_strcmp0 --- midori/compat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/midori/compat.c b/midori/compat.c index 20fdc2df..6eb1c96c 100644 --- a/midori/compat.c +++ b/midori/compat.c @@ -11,6 +11,8 @@ #include "compat.h" +#include + #if !GLIB_CHECK_VERSION(2, 16, 0) /* Glib string function @@ -21,7 +23,7 @@ g_strcmp0 (const gchar* string1, const gchar* string2) { if (!string1) - return -(str1 != str2); + return -(string1 != string2); if (!string2) return string1 != string2; return strcmp (string1, string2); -- 2.39.5