summaryrefslogtreecommitdiff
path: root/net/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/util.h')
-rw-r--r--net/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/util.h b/net/util.h
index 358185fd50..288312979f 100644
--- a/net/util.h
+++ b/net/util.h
@@ -30,7 +30,7 @@
* Structure of an internet header, naked of options.
*/
struct ip {
-#ifdef HOST_WORDS_BIGENDIAN
+#if HOST_BIG_ENDIAN
uint8_t ip_v:4, /* version */
ip_hl:4; /* header length */
#else