/*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License.
*/
-#ifndef FOLLY_FILE_H_
-#define FOLLY_FILE_H_
+#pragma once
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <unistd.h>
#include <string>
#include <folly/Portability.h>
#include <folly/Range.h>
+#include <folly/portability/Unistd.h>
namespace folly {
} // namespace folly
-
-#endif /* FOLLY_FILE_H_ */