]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/kvstore: trivial portability fixes
authorNoah Watkins <noahwatkins@gmail.com>
Wed, 5 Feb 2014 16:36:56 +0000 (08:36 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Wed, 5 Feb 2014 16:37:57 +0000 (08:37 -0800)
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/os/KeyValueStore.cc
src/os/KeyValueStore.h

index e209dbc2f2ecb83135084e75d52149df4ce42912..2d7bd3fd0f523a4cbfbec21c0f982be7228a6ee0 100644 (file)
@@ -21,6 +21,8 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/file.h>
+#include <sys/param.h>
+#include <sys/mount.h>
 #include <errno.h>
 #include <dirent.h>
 
index 5a1d0f0410e60a7b0537939bd35a6bd5504cf86d..fff953006969d6eecb142eaafaa9b5f7575bb956 100644 (file)
@@ -26,9 +26,6 @@
 #include <fstream>
 using namespace std;
 
-#include <ext/hash_map>
-using namespace __gnu_cxx;
-
 #include "include/assert.h"
 
 #include "ObjectStore.h"