#include <fcntl.h>
#include <unistd.h>
+#include <folly/Portability.h>
+
namespace folly {
/**
/**
* Open and create a file object. Throws on error.
*/
- explicit File(const char* name, int flags = O_RDONLY, mode_t mode = 0644);
+ explicit File(const char* name, int flags = O_RDONLY, mode_t mode = 0666);
~File();