This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[hurd,commited] hurd: Fix includes
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sourceware dot org
- Cc: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Date: Mon, 29 Jan 2018 01:49:59 +0100
- Subject: [hurd,commited] hurd: Fix includes
- Authentication-results: sourceware.org; auth=none
* 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