Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing header for access(). #244

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Add missing header for access(). #244

merged 1 commit into from
Jan 15, 2024

Conversation

0-wiz-0
Copy link
Contributor

@0-wiz-0 0-wiz-0 commented Jan 15, 2024

Fixes:
--- .obj/DirReadJob.o ---
DirReadJob.cpp: In member function 'virtual void QDirStat::LocalDirReadJob::startReading()':
DirReadJob.cpp:225:37: error: 'X_OK' was not declared in this scope; did you mean 'Z_OK'?
225 | if ( access( _dirName.toUtf8(), X_OK | R_OK ) != 0 )
| ^~~~
| Z_OK
DirReadJob.cpp:225:44: error: 'R_OK' was not declared in this scope; did you mean 'Z_OK'?
225 | if ( access( _dirName.toUtf8(), X_OK | R_OK ) != 0 )
| ^~~~
| Z_OK
DirReadJob.cpp:225:10: error: 'access' was not declared in this scope
225 | if ( access( _dirName.toUtf8(), X_OK | R_OK ) != 0 )
| ^~~~~~

@0-wiz-0 0-wiz-0 changed the title Add missing header for accept(). Add missing header for access(). Jan 15, 2024
Copy link
Owner

@shundhammer shundhammer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thank you!

@shundhammer shundhammer merged commit eb451b8 into shundhammer:master Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants