diff options
author | Rostislav Skudnov <rostislav@tuxera.com> | 2018-01-22 15:57:16 +0000 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2018-01-28 17:12:28 +0800 |
commit | 1b4f24662e7e4c7c6f40bc08f68124b78a6f02bd (patch) | |
tree | 924d81d16e064d938099ae695ac6274f2cfb64cf | |
parent | f6c3b373bb53aba16002a823b7e6fe36e63c0f3b (diff) | |
download | xfstests-1b4f24662e7e4c7c6f40bc08f68124b78a6f02bd.tar.gz |
src/dmiperf: Include sys/types.h for u_int32_t
u_int32_t type is defined in sys/types.h, which is often included by
glibc implicitly when some other headers are used, but other C
libraries such as musl may not necessarily do so, therefore an
explicit include is needed.
Signed-off-by: Rostislav Skudnov <rostislav@tuxera.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rw-r--r-- | src/dmiperf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dmiperf.c b/src/dmiperf.c index 245e529c37..359324ac4e 100644 --- a/src/dmiperf.c +++ b/src/dmiperf.c @@ -16,6 +16,7 @@ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <sys/types.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/time.h> |