Fix BYTE_ORDER check in <netinet/ip6.h>.

Neither BYTE_ORDER nor BIG_ENDIAN were being defined anywhere, so they
were defaulting to zero, leading to BIG_ENDIAN values being used.

Bug: http://b/31496165
Change-Id: Ic6089895f39b86e7762bdb5b7d5b01feb0d2fd17
This commit is contained in:
Josh Gao 2016-09-15 13:57:19 -07:00
parent cb728e6f63
commit 81b4aadb48
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <sys/types.h> #include <sys/types.h>
#include <endian.h>
#include <linux/in6.h> #include <linux/in6.h>