]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
add <sys/sysmacros.h> to avoid warning with glibc 2.25
authorAaron Gao <gzh@fb.com>
Wed, 26 Apr 2017 08:09:05 +0000 (01:09 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 26 Apr 2017 08:26:55 +0000 (01:26 -0700)
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

env/io_posix.cc

index f994e8c3488582a55b93c93518a21f2945712d87..41b1204027de7f46f895185101271fb8ad9d1166 100644 (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"