add <sys/sysmacros.h> to avoid warning with glibc 2.25

Summary:
https://github.com/facebook/rocksdb/issues/2152
Closes https://github.com/facebook/rocksdb/pull/2208

Differential Revision: D4945577

Pulled By: lightmark

fbshipit-source-id: 4e679150f2c9443d3be0b6008b26b65fabbda75a
This commit is contained in:
Aaron Gao 2017-04-26 01:09:05 -07:00 committed by Peter Dillinger
parent 664ad1c001
commit 9adcef7ef8

1
env/io_posix.cc vendored
View file

@ -25,6 +25,7 @@
#ifdef OS_LINUX
#include <sys/statfs.h>
#include <sys/syscall.h>
#include <sys/sysmacros.h>
#endif
#include "env/posix_logger.h"
#include "monitoring/iostats_context_imp.h"