2003-10-20 22:11:43 +02:00
|
|
|
/*
|
|
|
|
* The LLVM Compiler Infrastructure
|
|
|
|
*
|
|
|
|
* This file was developed by the LLVM research group and is distributed under
|
|
|
|
* the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
*
|
|
|
|
******************************************************************************
|
2003-06-30 23:59:07 +02:00
|
|
|
*
|
|
|
|
* 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
|