summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-15 17:46:29 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-15 17:46:29 +0100
commitb5c156f376d1cf3227c7a18a670bac62aa7f9622 (patch)
treefea913c94e99b2f0b53fd0521d97e38047d19ff2 /external
parentf06b2c453bb7fece8d26ed440d062f32b845662c (diff)
downloadlibrcc-b5c156f376d1cf3227c7a18a670bac62aa7f9622.tar.gz
librcc-b5c156f376d1cf3227c7a18a670bac62aa7f9622.tar.bz2
librcc-b5c156f376d1cf3227c7a18a670bac62aa7f9622.tar.xz
librcc-b5c156f376d1cf3227c7a18a670bac62aa7f9622.zip
Do not fail on Glib version check if libtranslate is not available
Diffstat (limited to 'external')
-rw-r--r--external/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/compat.h b/external/compat.h
index a70776d..fa14bb2 100644
--- a/external/compat.h
+++ b/external/compat.h
@@ -1,6 +1,8 @@
#ifndef _RCC_EXTERNAL_COMPAT_H
#define _RCC_EXTERNAL_COMPAT_H
+#include <glib.h>
+
# if GLIB_CHECK_VERSION(2,32,0)
inline static GMutex *g_mutex_new_32() {
GMutex *res = malloc(sizeof(GMutex));