projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cece4ff
)
util: use OpenBSD/NetBSD code on FreeBSD/DragonFly
author
Greg V
<greg@unrelenting.technology>
Mon, 23 Oct 2017 20:20:43 +0000
(23:20 +0300)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 26 Oct 2017 14:11:38 +0000
(15:11 +0100)
Obtained from: FreeBSD ports
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
[Emil Velikov: wrap long line]
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/u_endian.h
patch
|
blob
|
history
diff --git
a/src/util/u_endian.h
b/src/util/u_endian.h
index b9d563dd4353c34a206d13971d814fee7911dae2..7bbd7dc2153686f29d0d9a567463636b7accb21d 100644
(file)
--- a/
src/util/u_endian.h
+++ b/
src/util/u_endian.h
@@
-54,7
+54,8
@@
# define PIPE_ARCH_BIG_ENDIAN
#endif
-#elif defined(__OpenBSD__) || defined(__NetBSD__)
+#elif defined(__OpenBSD__) || defined(__NetBSD__) || \
+ defined(__FreeBSD__) || defined(__DragonFly__)
#include <sys/types.h>
#include <machine/endian.h>