From 07095e85b27a42bc1d1f4cf255b8e7ddb3752239 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 10 Jun 2014 07:36:50 -0700 Subject: [PATCH] Fix formatting and comment why fcntl.h is included. --- posix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posix.h b/posix.h index e5229093..c73b4bba 100644 --- a/posix.h +++ b/posix.h @@ -29,7 +29,7 @@ #define FMT_POSIX_H #include -#include +#include // for O_RDONLY #include #include @@ -189,7 +189,7 @@ public: enum { RDONLY = FMT_POSIX(O_RDONLY), // Open for reading only. WRONLY = FMT_POSIX(O_WRONLY), // Open for writing only. - RDWR = FMT_POSIX(O_RDWR) // Open for reading and writing. + RDWR = FMT_POSIX(O_RDWR) // Open for reading and writing. }; // Constructs a File object which doesn't represent any file.