* include/sys/param.h: Add ENDIAN defines.
* test_headers.c: Include sys/param.h.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user