[hurd,commited] hurd: Fix includes

Message ID 20180129004959.42287-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series
  • [hurd,commited] hurd: Fix includes
Related show

Commit Message

Samuel Thibault Jan. 29, 2018, 12:49 a.m.
* 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>.
---
 ChangeLog                        | 4 ++++
 sysdeps/mach/hurd/net/ethernet.h | 1 +
 sysdeps/mach/hurd/net/if_arp.h   | 1 +
 sysdeps/mach/hurd/net/if_ppp.h   | 1 -
 4 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.15.1

Patch

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