Protect inclusions of autotools_config.h with HAVE_CONFIG_H
This commit is contained in:
@@ -47,9 +47,11 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <autotools_config.h>
|
#if defined(HAVE_CONFIG_H)
|
||||||
|
# include <autotools_config.h>
|
||||||
|
#endif
|
||||||
#if defined(HAVE_LOCALE_H)
|
#if defined(HAVE_LOCALE_H)
|
||||||
#include <locale.h>
|
# include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define X_INCLUDE_PWD_H
|
#define X_INCLUDE_PWD_H
|
||||||
|
|||||||
@@ -44,7 +44,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* use autotools detection to determine endianess */
|
/* use autotools detection to determine endianess */
|
||||||
#include <autotools_config.h>
|
#if defined(HAVE_CONFIG_H)
|
||||||
|
# include <autotools_config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef WORDS_BIGENDIAN
|
#ifndef WORDS_BIGENDIAN
|
||||||
# define LSB_BIT_ORDER
|
# define LSB_BIT_ORDER
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user