From 3d34cc10a5e62686f661a6653d43e2c42e6a26a2 Mon Sep 17 00:00:00 2001 From: Sorokin Alexei Date: Sat, 12 Dec 2015 16:49:22 +0300 Subject: Fix compilation with enabled GObject Introspection --- configure.ac | 2 ++ src/main.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9b829d0..b3d398f 100644 --- a/configure.ac +++ b/configure.ac @@ -142,6 +142,8 @@ else have_introspection=no fi +AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$have_introspection" = xyes) + # *************** # ZLIB (required) # *************** diff --git a/src/main.c b/src/main.c index cc999e2..f1b92f7 100644 --- a/src/main.c +++ b/src/main.c @@ -30,7 +30,7 @@ #include #include #endif -#ifdef HAVE_INSTROSPECTION +#ifdef HAVE_INTROSPECTION #include #endif -- cgit v1.2.1