/*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2012-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <sys/types.h>
#include <cstddef>
#include <string>
-#include <unistd.h>
#include <utility>
#include <vector>
#include <folly/Range.h>
#include <folly/experimental/io/FsUtil.h>
+#include <folly/portability/Unistd.h>
namespace folly {
struct HugePageSize : private boost::totally_ordered<HugePageSize> {
- explicit HugePageSize(size_t s) : size(s) { }
+ explicit HugePageSize(size_t s) : size(s) {}
fs::path filePath(const fs::path& relpath) const {
return mountPoint / relpath;
*/
const HugePageSize* getHugePageSizeForDevice(dev_t device);
-} // namespace folly
+} // namespace folly