/*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2013-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.
* or deleted chunks of the file, or modified data. When reading, you may lose
* corrupted records, but the stream will resynchronize automatically.
*/
-#ifndef FOLLY_IO_RECORDIO_H_
+
+#pragma once
#define FOLLY_IO_RECORDIO_H_
#include <atomic>
#include <folly/File.h>
#include <folly/Range.h>
-#include <folly/MemoryMapping.h>
#include <folly/io/IOBuf.h>
+#include <folly/system/MemoryMapping.h>
namespace folly {
*/
RecordInfo validateRecord(ByteRange range, uint32_t fileId);
-} // namespace recordio_helpers
+} // namespace recordio_helpers
-} // namespaces
+} // namespace folly
#include <folly/io/RecordIO-inl.h>
-
-#endif /* FOLLY_IO_RECORDIO_H_ */