Skip to content

Commit

Permalink
missing unistd.h including for F_OK for non Linux oses.
Browse files Browse the repository at this point in the history
forgotten WIN32's case

forgotten WIN32's case

typo ...
  • Loading branch information
devnexen committed Jan 2, 2016
1 parent 86417c2 commit d2bd67c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/preferences.cpp
Expand Up @@ -34,6 +34,9 @@

#include <sys/stat.h> // for setting the permissions of the preferences file
#include <boost/concept_check.hpp>
#ifndef _WIN32
#include <unistd.h>
#endif

static lg::log_domain log_config("config");
#define ERR_CFG LOG_STREAM(err , log_config)
Expand Down

0 comments on commit d2bd67c

Please sign in to comment.