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.zip
glibc-e30c291a6d541fbb728c92725f4744e7765f34f4.tar.gz
glibc-e30c291a6d541fbb728c92725f4744e7765f34f4.tar.bz2
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 dd65bee..c1d6dde 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 b181d3c..28563c9 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 0676315..ae74898 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 d84fef5..9a1f580 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: