Skip to content

Commit

Permalink
Make use of methods defined in utils unix layer
Browse files Browse the repository at this point in the history
Some unix-like concepts are supported by VxWorks VSB layer - UTILS_UNIX.
One of such methods is getgrgid(). Include it in
`qfilesystemengine_unix.cpp`, so that we don't need to exclude VxWorks from code that uses it anymore.

Task-number: QTBUG-115777
Change-Id: I72b301647bfdb208cb6859bb0f9994e3537fc345
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 21196d2)
  • Loading branch information
Krzysztof Sommerfeld authored and jarlamsa-qt committed Apr 22, 2024
1 parent 15ce2b8 commit 2bb4e23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/corelib/io/qfilesystemengine_unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# include <QtCore/private/qtemporaryfile_p.h>
#endif // QT_BOOTSTRAPPED

#include <grp.h>
#include <pwd.h>
#include <stdlib.h> // for realpath()
#include <unistd.h>
Expand Down

0 comments on commit 2bb4e23

Please sign in to comment.