about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/net
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 /sysdeps/mach/hurd/net
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>.
Diffstat (limited to 'sysdeps/mach/hurd/net')
-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
3 files changed, 2 insertions, 1 deletions
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