diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-01 13:53:39 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-01 13:53:39 -0400 |
commit | 1ddef81b97c30a15822fa0bedbd85f10caa6ed75 (patch) | |
tree | 24788408b1a0d6b2ea05dd72c0c0a5e39e120838 /SConstruct | |
parent | 7f39842bc9e38515b3ad43cbd0f3df25f1fa0ba1 (diff) | |
download | gpsd-1ddef81b97c30a15822fa0bedbd85f10caa6ed75.tar.gz |
Trying to get the endian.h location right.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -632,7 +632,11 @@ confdefs.append(''' #ifdef __LITTLE_ENDIAN__ #undef WORDS_BIGENDIAN #else +#ifdef BSD +#include <sys/endian.h> +#else #include <endian.h> +#endif #if __BYTE_ORDER == __BIG_ENDIAN #define WORDS_BIGENDIAN 1 #elif __BYTE_ORDER == __LITTLE_ENDIAN |