summaryrefslogtreecommitdiffstats
path: root/src/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host.c')
-rw-r--r--src/host.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host.c b/src/host.c
index 6167377..90efceb 100644
--- a/src/host.c
+++ b/src/host.c
@@ -15,12 +15,12 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "dylib.h"
#include "suil_config.h"
#include "suil_internal.h"
#include "suil/suil.h"
-#include <dlfcn.h>
#include <stdlib.h>
int suil_argc = 0;
@@ -57,7 +57,7 @@ suil_host_free(SuilHost* host)
{
if (host) {
if (host->gtk_lib) {
- dlclose(host->gtk_lib);
+ dylib_close(host->gtk_lib);
}
free(host);
}
@@ -79,7 +79,7 @@ suil_load_init_module(const char* module_name)
SUIL_ERRORF("Corrupt init module %s\n", module_name);
}
- dlclose(lib);
+ dylib_close(lib);
}
#endif