[hurd,commited] hurd: Add missing includes

Message ID 20180303225928.23605-1-samuel.thibault@ens-lyon.org
State Committed, archived
Headers

Commit Message

Samuel Thibault March 3, 2018, 10:59 p.m. UTC
  * hurd/hurd/id.h: Include <hurd/hurd_types.h>
	* hurd/hurd/ioctl.h: Include <mach/port.h>
	* hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
---
 ChangeLog          | 3 +++
 hurd/hurd/id.h     | 1 +
 hurd/hurd/ioctl.h  | 1 +
 hurd/hurd/lookup.h | 2 ++
 4 files changed, 7 insertions(+)
  

Patch

diff --git a/ChangeLog b/ChangeLog
index dd65beebc6..c1d6dde45a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@ 
 2018-03-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	* scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
+	* hurd/hurd/id.h: Include <hurd/hurd_types.h>
+	* hurd/hurd/ioctl.h: Include <mach/port.h>
+	* hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
 
 2018-03-03  Andreas Schwab  <schwab@linux-m68k.org>
 
diff --git a/hurd/hurd/id.h b/hurd/hurd/id.h
index b181d3c458..28563c9618 100644
--- a/hurd/hurd/id.h
+++ b/hurd/hurd/id.h
@@ -20,6 +20,7 @@ 
 
 #define	_HURD_ID_H	1
 #include <features.h>
+#include <hurd/hurd_types.h>
 
 #include <cthreads.h>		/* For `struct mutex'.  */
 
diff --git a/hurd/hurd/ioctl.h b/hurd/hurd/ioctl.h
index 0676315802..ae74898255 100644
--- a/hurd/hurd/ioctl.h
+++ b/hurd/hurd/ioctl.h
@@ -22,6 +22,7 @@ 
 #define	__need___va_list
 #include <stdarg.h>
 #include <bits/ioctls.h>
+#include <mach/port.h>
 
 
 /* Type of handler function, called like ioctl to do its entire job.  */
diff --git a/hurd/hurd/lookup.h b/hurd/hurd/lookup.h
index d84fef58a5..9a1f58058f 100644
--- a/hurd/hurd/lookup.h
+++ b/hurd/hurd/lookup.h
@@ -19,6 +19,8 @@ 
 #ifndef _HURD_LOOKUP_H
 #define _HURD_LOOKUP_H	1
 
+#include <hurd/hurd_types.h>
+
 /* These functions all take two callback functions as the first two arguments.
    The first callback function USE_INIT_PORT is called as follows: