about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-29 01:48:24 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-29 01:48:24 +0100
commit1f89ac719018bf7cd372c4f73aa067ced5f7ecd4 (patch)
treeb3f93278d090f35cb52e01f0982721788d7adc42
parent80463dc69d0018d03740d440bdcaff2a0d054aee (diff)
downloadglibc-1f89ac719018bf7cd372c4f73aa067ced5f7ecd4.tar.gz
glibc-1f89ac719018bf7cd372c4f73aa067ced5f7ecd4.tar.xz
glibc-1f89ac719018bf7cd372c4f73aa067ced5f7ecd4.zip
hurd: Fix includes
	* sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
	* sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
	* sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
	<net/ppp_defs.h>.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/mach/hurd/net/ethernet.h1
-rw-r--r--sysdeps/mach/hurd/net/if_arp.h1
-rw-r--r--sysdeps/mach/hurd/net/if_ppp.h1
4 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ee1d44de9..d391807627 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -101,6 +101,10 @@
 	* sysdeps/mach/configure (mach_interface_list): Regenerate.
 	* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
 	instead of invalid -1.
+	* sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
+	* sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
+	* sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
+	<net/ppp_defs.h>.
 
 2008-12-18  Thomas Schwinge  <tschwinge@gnu.org>
 
diff --git a/sysdeps/mach/hurd/net/ethernet.h b/sysdeps/mach/hurd/net/ethernet.h
index fecf68ce84..31f15cbe0f 100644
--- a/sysdeps/mach/hurd/net/ethernet.h
+++ b/sysdeps/mach/hurd/net/ethernet.h
@@ -23,6 +23,7 @@
 
 #include <sys/cdefs.h>
 #include <sys/types.h>
+#include <stdint.h>
 #include <net/if_ether.h>     /* IEEE 802.3 Ethernet constants */
 
 __BEGIN_DECLS
diff --git a/sysdeps/mach/hurd/net/if_arp.h b/sysdeps/mach/hurd/net/if_arp.h
index 949ec2aca8..01c8b62a99 100644
--- a/sysdeps/mach/hurd/net/if_arp.h
+++ b/sysdeps/mach/hurd/net/if_arp.h
@@ -26,6 +26,7 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <stdint.h>
 
 __BEGIN_DECLS
 
diff --git a/sysdeps/mach/hurd/net/if_ppp.h b/sysdeps/mach/hurd/net/if_ppp.h
index 8ee620bd03..dbfa152213 100644
--- a/sysdeps/mach/hurd/net/if_ppp.h
+++ b/sysdeps/mach/hurd/net/if_ppp.h
@@ -53,7 +53,6 @@
 
 #include <net/if.h>
 #include <sys/ioctl.h>
-#include <net/ppp_defs.h>
 
 __BEGIN_DECLS