From d2a353d16cffb48f87e44d0db31c27e8bd810bb4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Dec 2017 10:31:50 +0100 Subject: Fix unused function warning for non-X11 builds --- src/host.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/host.c b/src/host.c index e82e377..f64f9c5 100644 --- a/src/host.c +++ b/src/host.c @@ -57,6 +57,7 @@ suil_host_free(SuilHost* host) } } +#ifdef SUIL_WITH_X11 static void suil_load_init_module(const char* module_name) { @@ -74,6 +75,7 @@ suil_load_init_module(const char* module_name) dlclose(lib); } +#endif SUIL_API void -- cgit v1.2.1