aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-03 23:58:51 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-03 23:58:51 +0100
commite30c291a6d541fbb728c92725f4744e7765f34f4 (patch)
tree6f49f4a1ae816e4ebf6c334863f230d6fa4f04cb
parenteb1ca47e5591dced9e74f120fbcb738b49e309cd (diff)
downloadglibc-e30c291a6d541fbb728c92725f4744e7765f34f4.tar
glibc-e30c291a6d541fbb728c92725f4744e7765f34f4.tar.gz
glibc-e30c291a6d541fbb728c92725f4744e7765f34f4.tar.bz2
glibc-e30c291a6d541fbb728c92725f4744e7765f34f4.zip
hurd: Add missing includes
* 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>
-rw-r--r--ChangeLog3
-rw-r--r--hurd/hurd/id.h1
-rw-r--r--hurd/hurd/ioctl.h1
-rw-r--r--hurd/hurd/lookup.h2
4 files changed, 7 insertions, 0 deletions
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: