diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-05-23 17:20:09 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-05-23 17:20:09 +0000 |
| commit | 292270f0042e40c886cc5d838784f9360105c31a (patch) | |
| tree | 0d6fff10dc3061ecbbc689d35fea9a2ca6bea37b /src/util/db2/include | |
| parent | 19ad69f6d800e393040842e0dd1b867f9c7af579 (diff) | |
Use compile-time tests using system headers to determine byte order on AIX.
(cf ticket 2551, already pulled up and marked resolved)
* configure.in: Check for sys/param.h too.
* include/db-int.h: Include sys/param.h if available.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16351 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/db2/include')
| -rw-r--r-- | src/util/db2/include/ChangeLog | 4 | ||||
| -rw-r--r-- | src/util/db2/include/db-int.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/util/db2/include/ChangeLog b/src/util/db2/include/ChangeLog index 1ad22005c..676bbd44a 100644 --- a/src/util/db2/include/ChangeLog +++ b/src/util/db2/include/ChangeLog @@ -1,3 +1,7 @@ +2004-05-23 Ken Raeburn <raeburn@mit.edu> + + * db-int.h: Include sys/param.h if available. + 2004-05-07 Ken Raeburn <raeburn@mit.edu> * db-int.h: Include machine/endian.h if available. Check for diff --git a/src/util/db2/include/db-int.h b/src/util/db2/include/db-int.h index f50f6d048..bbb22925a 100644 --- a/src/util/db2/include/db-int.h +++ b/src/util/db2/include/db-int.h @@ -51,6 +51,9 @@ #ifdef HAVE_MACHINE_ENDIAN_H # include <machine/endian.h> #endif +#ifdef HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif /* Handle both BIG and LITTLE defined and BYTE_ORDER matches one, or just one defined; both with and without leading underscores. |
