Make sure to define __BIG_ENDIAN and __LITTLE_ENDIAN with the appropriate
number of underscores for Linux compatibility in drm(4). Submitted by: sendtomatt at gmail dot com MFC after: 2 weeks
This commit is contained in:
parent
e8f6ee4a99
commit
20d85134d8
@ -85,6 +85,11 @@ struct drm_file;
|
||||
#endif
|
||||
#include <machine/sysarch.h>
|
||||
#include <sys/endian.h>
|
||||
#if _BYTE_ORDER == _BIG_ENDIAN
|
||||
#define __BIG_ENDIAN 1
|
||||
#else
|
||||
#define __LITTLE_ENDIAN 1
|
||||
#endif
|
||||
#include <sys/mman.h>
|
||||
#include <sys/rman.h>
|
||||
#include <sys/memrange.h>
|
||||
|
Loading…
Reference in New Issue
Block a user