* include/sys/param.h: Add ENDIAN defines.

* test_headers.c: Include sys/param.h.
This commit is contained in:
Danny Smith
2002-08-28 21:24:59 +00:00
parent 4053143834
commit 933ba4b187
3 changed files with 13 additions and 1 deletions

View File

@@ -28,4 +28,11 @@
#include <sys/types.h>
#include <limits.h>
#ifndef __STRICT_ANSI__
/* These are useful for cross-compiling */
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234
#define BYTE_ORDER LITTLE_ENDIAN
#endif
#endif