From 0630b79e2cc5c2ae55facfe7812e7896a44fc918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20R.=20Sede=C3=B1o?= Date: Sun, 7 Feb 2010 20:34:45 -0500 Subject: [PATCH 13/13] Don't include dlfcn.h if we're not building with libdl --- unix/unix.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/unix/unix.h b/unix/unix.h index d265b57..f7774c8 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -7,7 +7,9 @@ #include /* for FILENAME_MAX */ #include /* C99 int types */ +#ifndef NO_LIBDL #include /* Dynamic library loading */ +#endif /* NO_LIBDL */ #include "charset.h" struct Filename { -- 1.6.6