From: Alan T. DeKok Date: Tue, 4 Sep 2012 13:12:52 +0000 (+0200) Subject: Fix build error X-Git-Tag: release_3_0_0_beta0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b09fa3c8c8e81181a9ab6cb57ff21e4800dab2e6;p=thirdparty%2Ffreeradius-server.git Fix build error --- diff --git a/src/include/modpriv.h b/src/include/modpriv.h index c3fc74c444c..3128cfee4e5 100644 --- a/src/include/modpriv.h +++ b/src/include/modpriv.h @@ -10,16 +10,12 @@ #ifdef WITH_SYSTEM_LTDL #define WITH_LIBLTDL -#endif - -#ifdef WITH_LIBLTDL #include -#endif #else #ifndef HAVE_DLFCN_H #error FreeRADIUS needs either libltdl, or a working dlopen() -#endif +#endif /* WITH_LIBLTDL */ #endif /* WITH_LIBLTDL */ #ifdef __cplusplus @@ -38,7 +34,7 @@ const char *lt_dlerror(void); #define LTDL_SET_PRELOADED_SYMBOLS(_x) #define lt_dlexit(_x) #define lt_dlsetsearchpath(_x) -#endif +#endif /* WITH_LIBLTDL */ /* * Keep track of which modules we've loaded.