]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Include sys/stat.h
authorWarner Losh <imp@bsdimp.com>
Thu, 4 Oct 2018 05:34:23 +0000 (23:34 -0600)
committerWarner Losh <imp@bsdimp.com>
Thu, 4 Oct 2018 05:43:35 +0000 (23:43 -0600)
S_* mode bits are defined in sys/stat.h, per POSIX. Include this for
extra portability.

seagate-nvme.c

index a6f8e1fc8e6948979154bd7532925aa208c07dce..4fa29d950d9cd282db42d1aaa152595b37820b5b 100755 (executable)
@@ -26,6 +26,7 @@
 #include <unistd.h>
 #include <inttypes.h>
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 #include <ctype.h>
 #include "linux/nvme_ioctl.h"
 #include "nvme.h"