John Criswell | 3ef61af | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Header file: dlfcn.h |
| 3 | * |
| 4 | * Description: |
| 5 | * This header file is the autoconf replacement for dlfcn.h (if it lives |
| 6 | * on the system). |
| 7 | */ |
| 8 | |
| 9 | #ifndef _CONFIG_DLFCN_H |
| 10 | #define _CONFIG_DLFCN_H |
| 11 | |
| 12 | #include "Config/config.h" |
| 13 | |
| 14 | /* |
| 15 | * According to the man pages on dlopen(), we sometimes need link.h. So, |
| 16 | * go grab it just in case. |
| 17 | */ |
| 18 | #ifdef HAVE_DLFCN_H |
| 19 | #include <dlfcn.h> |
| 20 | |
| 21 | #ifdef HAVE_LINK_H |
| 22 | #include <link.h> |
| 23 | #endif |
| 24 | |
| 25 | #endif |
| 26 | |
| 27 | #endif |