From: Warner Losh Date: Thu, 4 Oct 2018 05:34:23 +0000 (-0600) Subject: Include sys/stat.h X-Git-Tag: v1.7~46^2~5 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=782b93e62cd52d281271295c7ce8b00c65ef97e9;p=users%2Fsagi%2Fnvme-cli.git Include sys/stat.h S_* mode bits are defined in sys/stat.h, per POSIX. Include this for extra portability. --- diff --git a/seagate-nvme.c b/seagate-nvme.c index a6f8e1fc..4fa29d95 100755 --- a/seagate-nvme.c +++ b/seagate-nvme.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include "linux/nvme_ioctl.h" #include "nvme.h"