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:
parent
483f4cae83
commit
31b8bd92dc
@ -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 "port/port.h"
|
#include "port/port.h"
|
||||||
#include "rocksdb/slice.h"
|
#include "rocksdb/slice.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user