aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-27 16:32:16 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-27 16:32:16 +0100
commit85285a0ce77de8c3f87a9aefe5263b7067caa9d1 (patch)
tree450d5e14306f7fbc5399e1faf76d99c6f4ae832d
parent7e23a7ddf8b8a7a3a397c4d2bd80487c7eaec840 (diff)
downloadglibc-85285a0ce77de8c3f87a9aefe5263b7067caa9d1.zip
glibc-85285a0ce77de8c3f87a9aefe5263b7067caa9d1.tar.gz
glibc-85285a0ce77de8c3f87a9aefe5263b7067caa9d1.tar.bz2
hurd: fix warning
* sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/mach/hurd/xmknodat.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e3c150..e6392de 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 d824281..40d86aa 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