public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] hurd: Fix includes
@ 2018-01-29 13:50 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2018-01-29 13:50 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault

	* 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(-)

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
 
-- 
2.15.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-29  0:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 13:50 [hurd,commited] hurd: Fix includes Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).