about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-19 00:47:45 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-19 01:51:10 +0100
commit64f63cb4583ecc1ba16c7253aacc192b6d088511 (patch)
treeeb2a97a80adf8ce563e5df6a5b06b5f5a4ea4bec
parent32ac6e927da435405089d69f08424cff0b10a17c (diff)
downloadglibc-64f63cb4583ecc1ba16c7253aacc192b6d088511.tar.gz
glibc-64f63cb4583ecc1ba16c7253aacc192b6d088511.tar.xz
glibc-64f63cb4583ecc1ba16c7253aacc192b6d088511.zip
generic if_ether.h: Fix build
* sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/generic/netinet/if_ether.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 012e536a5d..9aa71ddc2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-01-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
+
 2018-01-19  Rafal Luzynski  <digitalfreak@lingonborough.com>
 
 	* localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
diff --git a/sysdeps/generic/netinet/if_ether.h b/sysdeps/generic/netinet/if_ether.h
index 04afe34a03..7f33d220d0 100644
--- a/sysdeps/generic/netinet/if_ether.h
+++ b/sysdeps/generic/netinet/if_ether.h
@@ -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.  */