This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[hurd,commited 1/7] hurd: fix warning
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sourceware dot org
- Cc: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Date: Sat, 27 Jan 2018 16:56:23 +0100
- Subject: [hurd,commited 1/7] hurd: fix warning
- Authentication-results: sourceware.org; auth=none
- References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
---
ChangeLog | 4 ++++
sysdeps/mach/hurd/xmknodat.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 8e3c150aca..e6392de4e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
+
2018-01-27 James Clarke <jrtc27@jrtc27.com>
* sysdeps/hppa/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/mach/hurd/xmknodat.c b/sysdeps/mach/hurd/xmknodat.c
index d824281476..40d86aa2c0 100644
--- a/sysdeps/mach/hurd/xmknodat.c
+++ b/sysdeps/mach/hurd/xmknodat.c
@@ -25,6 +25,7 @@
#include <_itoa.h>
#include <string.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
/* Create a device file named PATH relative to FD, with permission and
special bits MODE and device number DEV (which can be constructed
--
2.15.1