blob: 454ede8570883e00d184a7d40591d91d6d16fa56 [file] [log] [blame]
John Criswell4c8472d2003-10-20 20:11:43 +00001/*
2 * The LLVM Compiler Infrastructure
3 *
4 * This file was developed by the LLVM research group and is distributed under
5 * the University of Illinois Open Source License. See LICENSE.TXT for details.
6 *
7 ******************************************************************************
John Criswell3ef61af2003-06-30 21:59:07 +00008 *
9 * Description:
10 * This header file is the autoconf replacement for dlfcn.h (if it lives
11 * on the system).
12 */
13
14#ifndef _CONFIG_DLFCN_H
15#define _CONFIG_DLFCN_H
16
17#include "Config/config.h"
18
19/*
20 * According to the man pages on dlopen(), we sometimes need link.h. So,
21 * go grab it just in case.
22 */
23#ifdef HAVE_DLFCN_H
24#include <dlfcn.h>
25
26#ifdef HAVE_LINK_H
27#include <link.h>
28#endif
29
30#endif
31
32#endif