4 |
# include <config.h> |
# include <config.h> |
5 |
#endif |
#endif |
6 |
|
|
7 |
#include "../libltdl/ltdl.h" |
#ifdef USE_LTDL |
8 |
|
# include "../libltdl/ltdl.h" |
9 |
|
#else |
10 |
|
# ifdef HAVE_DLFCN_H |
11 |
|
# include <dlfcn.h> |
12 |
|
# endif |
13 |
|
# define lt_dlexit() 0 |
14 |
|
# define lt_dlinit() 0 |
15 |
|
# define lt_dlclose(x) dlclose(x) |
16 |
|
# define lt_dlsym(x,y) dlsym(x,y) |
17 |
|
# define lt_dlhandle void* |
18 |
|
# define lt_dlopenext(x) dlopen(x,RTLD_LAZY) |
19 |
|
# define lt_ptr_t void* |
20 |
|
# define lt_dlerror dlerror |
21 |
|
# define lt_dlsetsearchpath(x) 0 |
22 |
|
# define lt_dlsetsearchdir(x) 0 |
23 |
|
#endif |
24 |
|
|
25 |
#ifdef STDC_HEADERS |
#ifdef STDC_HEADERS |
26 |
# include <string.h> |
# include <string.h> |
28 |
# include <stdio.h> |
# include <stdio.h> |
29 |
#endif |
#endif |
30 |
|
|
31 |
|
#ifdef HAVE_SYS_TYPES_H |
32 |
|
# include <sys/types.h> |
33 |
|
#endif |
34 |
|
|
35 |
#ifdef HAVE_DIRENT_H |
#ifdef HAVE_DIRENT_H |
36 |
# include <dirent.h> |
# include <dirent.h> |
37 |
#endif |
#endif |