mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Protect inclusions of autotools_config.h with HAVE_CONFIG_H
This commit is contained in:
parent
9eee455580
commit
86bae29d78
2 changed files with 8 additions and 3 deletions
|
@ -47,7 +47,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
# include <autotools_config.h>
|
||||
#endif
|
||||
#if defined(HAVE_LOCALE_H)
|
||||
# include <locale.h>
|
||||
#endif
|
||||
|
|
|
@ -44,7 +44,10 @@
|
|||
*/
|
||||
|
||||
/* use autotools detection to determine endianess */
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
# include <autotools_config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WORDS_BIGENDIAN
|
||||
# define LSB_BIT_ORDER
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue