Whamcloud - gitweb
LU-9832 tests: Use sys/sysmacros.h for major/minor/makedev 60/28360/2
authorOleg Drokin <oleg.drokin@intel.com>
Fri, 4 Aug 2017 18:18:16 +0000 (14:18 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 17 Aug 2017 01:30:34 +0000 (01:30 +0000)
This is apparently the standard for GNU libc and they
started to warn about it now.

Change-Id: I5fe5c7b3cd08b724d77f752987ce1e753cb48d4b
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: https://review.whamcloud.com/28360
Reviewed-by: Patrick Farrell <paf@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/tests/mcreate.c

index f3fa364..8774b6b 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <sys/types.h>
+#include <sys/sysmacros.h>
 #include <sys/stat.h>
 #include <errno.h>
 #include <string.h>