summaryrefslogtreecommitdiff
path: root/sysdeps/generic/netinet/if_ether.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/netinet/if_ether.h')
-rw-r--r--sysdeps/generic/netinet/if_ether.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/netinet/if_ether.h b/sysdeps/generic/netinet/if_ether.h
index c106a41c82..7f33d220d0 100644
--- a/sysdeps/generic/netinet/if_ether.h
+++ b/sysdeps/generic/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,7 @@
#define __NETINET_IF_ETHER_H 1
#include <sys/types.h>
+#include <stdint.h>
#define ETH_ALEN 6 /* Octets in one ethernet address. */
@@ -26,7 +27,7 @@
systems. */
struct ether_addr
{
- u_int8_t ether_addr_octet[ETH_ALEN];
+ uint8_t ether_addr_octet[ETH_ALEN];
} __attribute__ ((__packed__));
#endif /* netinet/if_ether.h */