Protect inclusions of autotools_config.h with HAVE_CONFIG_H

This commit is contained in:
Jon Trulson
2019-10-28 15:01:02 -06:00
parent 9eee455580
commit 86bae29d78
2 changed files with 8 additions and 3 deletions

View File

@@ -44,7 +44,10 @@
*/
/* use autotools detection to determine endianess */
#include <autotools_config.h>
#if defined(HAVE_CONFIG_H)
# include <autotools_config.h>
#endif
#ifndef WORDS_BIGENDIAN
# define LSB_BIT_ORDER
#endif