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 Facebook Github Bot
parent e5e545a021
commit 3b4d1b7a44

1
env/io_posix.cc vendored
View File

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