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 483f4cae83
commit 31b8bd92dc

View file

@ -25,6 +25,7 @@
#ifdef OS_LINUX
#include <sys/statfs.h>
#include <sys/syscall.h>
#include <sys/sysmacros.h>
#endif
#include "port/port.h"
#include "rocksdb/slice.h"