Index: src/hid_init.c =================================================================== --- src/hid_init.c (revision 2572) +++ src/hid_init.c (revision 2573) @@ -4,23 +4,16 @@ #include #include -#ifdef HAVE_DLFCN_H -#include -#endif - +#warning TODO: scconfig these: #include -#include #include -#if defined(WIN32) && defined(HAVE_WINDOWS_H) -#include -#endif - #include "global.h" #include "hid.h" #include "hid_nogui.h" -/* for dlopen() and friends on windows */ +/* for dlopen() and friends; will also solve all system-dependent includes + and provides a dl-compat layer on windows */ #include "compat_dl.h" #include "global.h"