Compatibility with glib-2.0.x - missing g_str_has_suffix().
[gnome-vfs-httpcaptive.git] / modules / http-method.c
index c9de671..9431510 100644 (file)
 #include <unistd.h>
 #include <netdb.h>
 
+#ifndef HAVE_G_STR_HAS_SUFFIX
+gboolean g_str_has_suffix(const gchar *str, const gchar *suffix);
+#endif
+
 #ifdef DEBUG_HTTP_ENABLE
 void
 http_debug_printf (char *fmt, ...)