summaryrefslogtreecommitdiff
path: root/include/Config/dlfcn.h
blob: 9beddccbf1641ebd1c091abb92e806d284eba190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Header file: dlfcn.h
 *
 * Description:
 *	This header file is the autoconf replacement for dlfcn.h (if it lives
 *	on the system).
 */

#ifndef _CONFIG_DLFCN_H
#define _CONFIG_DLFCN_H

#include "Config/config.h"

/*
 * According to the man pages on dlopen(), we sometimes need link.h.  So,
 * go grab it just in case.
 */
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>

#ifdef HAVE_LINK_H
#include <link.h>
#endif

#endif

#endif