aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 00:42:20 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 00:42:20 +0100
commit430fd94599e20a71a38a01135bcafe2719a0bd8f (patch)
treeb7f83231acbb26aef49a7ebc13ccf7d84469658f /sysdeps
parentf4bff843cd77323d7176b3b1561f50f626e0e452 (diff)
downloadglibc-430fd94599e20a71a38a01135bcafe2719a0bd8f.tar
glibc-430fd94599e20a71a38a01135bcafe2719a0bd8f.tar.gz
glibc-430fd94599e20a71a38a01135bcafe2719a0bd8f.tar.bz2
glibc-430fd94599e20a71a38a01135bcafe2719a0bd8f.zip
hurd: Move mach/param.h to bits/mach/param.h
* mach/Makefile (headers): Move mach/param.h to bits/mach/param.h. * sysdeps/mach/i386/mach/param.h: Move file to ... * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error. * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead of <mach/param.h>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/bits/param.h2
-rw-r--r--sysdeps/mach/i386/bits/mach/param.h (renamed from sysdeps/mach/i386/mach/param.h)2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/bits/param.h b/sysdeps/mach/hurd/bits/param.h
index 7d535712a4..5d4faf793f 100644
--- a/sysdeps/mach/hurd/bits/param.h
+++ b/sysdeps/mach/hurd/bits/param.h
@@ -20,7 +20,7 @@
# error "Never use <bits/param.h> directly; include <sys/param.h> instead."
#endif
-#include <mach/param.h>
+#include <bits/mach/param.h>
/* This file is deprecated and is provided only for compatibility with
Unix systems. It is unwise to include this file on programs which
diff --git a/sysdeps/mach/i386/mach/param.h b/sysdeps/mach/i386/bits/mach/param.h
index 20329ff8fc..15e842f4d3 100644
--- a/sysdeps/mach/i386/mach/param.h
+++ b/sysdeps/mach/i386/bits/mach/param.h
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>. */
#ifndef _SYS_PARAM_H
-# error "Never use <mach/param.h> directly; include <sys/param.h> instead."
+# error "Never use <bits/mach/param.h> directly; include <sys/param.h> instead."
#endif
#ifndef EXEC_PAGESIZE