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
main
Aaron Gao 8 years ago committed by Facebook Github Bot
parent e5e545a021
commit 3b4d1b7a44
  1. 1
      env/io_posix.cc

1
env/io_posix.cc vendored

@ -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"

Loading…
Cancel
Save