Always include <config.h> in roken implementation
Remove unnecessary ifdefs and add <config.h> to dlfcn_w32.c. This is required for correct export declarations when building roken as a DLL.
This commit is contained in:
@@ -29,9 +29,7 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include<config.h>
|
#include<config.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
@@ -29,6 +29,7 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
@@ -29,9 +29,7 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include<config.h>
|
#include<config.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
|
|
||||||
|
@@ -29,10 +29,7 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
RCSID("$Id$");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
@@ -29,9 +29,7 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
|
|
||||||
|
@@ -29,9 +29,7 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include<config.h>
|
#include<config.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
|
|
||||||
|
@@ -33,9 +33,7 @@
|
|||||||
* Based on code by Alexander Yaworsky
|
* Based on code by Alexander Yaworsky
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user