mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242132
@ -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