diff mbox series

[hurd,commited,1/7] hurd: fix warning

Message ID 20180127155629.23644-2-samuel.thibault@ens-lyon.org
State New
Headers show
Series warning fixes | expand

Commit Message

Samuel Thibault Jan. 27, 2018, 3:56 p.m. UTC
* sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
---
 ChangeLog                    | 4 ++++
 sysdeps/mach/hurd/xmknodat.c | 1 +
 2 files changed, 5 insertions(+)
diff mbox series

Patch

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