From 71caa6979e674c5b08a5e4ef928a8e11552e41dc Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Fri, 17 Jan 2014 00:28:38 +0100
Subject: [PATCH] Allow to compile with libsoup<2.42.2 (#49).

---
 src/main.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main.h b/src/main.h
index ccf09b3..7c2f5c3 100644
--- a/src/main.h
+++ b/src/main.h
@@ -104,6 +104,10 @@
 #define VB_WIDGET_SET_STATE(w, s)       (gtk_widget_set_state(w, s))
 #endif
 
+#ifndef SOUP_CHECK_VERSION
+#define SOUP_CHECK_VERSION(major, minor, micro) (0)
+#endif
+
 /* the special mark ' must be the first in the list for easiest lookup */
 #define VB_MARK_CHARS   "'abcdefghijklmnopqrstuvwxyz"
 #define VB_MARK_TICK    0
-- 
2.20.1