From ec28fc7c4f3e136a38f361cf7ce2274452f0d849 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 6 Jan 2001 23:27:53 +0000 Subject: (Finding Tokens in a String): Document XPG basename() and dirname(), aswell as GNU basename(). --- sysdeps/generic/netinet/if_ether.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/netinet/if_ether.h b/sysdeps/generic/netinet/if_ether.h index 8e8a1f0661..055395d527 100644 --- a/sysdeps/generic/netinet/if_ether.h +++ b/sysdeps/generic/netinet/if_ether.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 2001 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 @@ -21,11 +21,13 @@ #define __NETINET_IF_ETHER_H 1 #include +#include + /* This is a name for the 48 bit ethernet address available on many systems. */ struct ether_addr { - unsigned char ether_addr_octet[6]; -}; + u_int8_t ether_addr_octet[6]; +} __attribute__ ((__packed__)); #endif /* netinet/if_ether.h */ -- cgit 1.4.1