X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd0401c85e0b7e6f56e4fba5aad43cca8b92b850..758bce950ba9236d0a9edc4c880c3ec73b5173f3:/src/unix/snglinst.cpp diff --git a/src/unix/snglinst.cpp b/src/unix/snglinst.cpp index ccb6788d11..d29268bbd3 100644 --- a/src/unix/snglinst.cpp +++ b/src/unix/snglinst.cpp @@ -44,7 +44,7 @@ #include #include -#include +#include // for S_I[RW]USR #include // for kill() #include @@ -153,7 +153,7 @@ LockResult wxSingleInstanceCheckerImpl::CreateLockFile() // try to open the file m_fdLock = open(m_nameLock, O_WRONLY | O_CREAT | O_EXCL, - S_IREAD | S_IWRITE); + S_IRUSR | S_IWUSR); if ( m_fdLock != -1 ) {