https://bugs.kde.org/show_bug.cgi?id=365934
Bug ID: 365934 Summary: KWayland can't build under strict POSIX systems: uid_t, gid_t undeclared Product: frameworks-kwayland Version: 5.5.5 Platform: Other OS: Linux Status: UNCONFIRMED Severity: major Priority: NOR Component: general Assignee: mgraess...@kde.org Reporter: awil...@adelielinux.org uid_t, gid_t, and pid_t are defined in either <unistd.h> or <sys/types.h> under POSIX. This becomes relevant on strictly compliant systems such as the musl libc, and will continue to be a problem in the future as more C libraries clean up their headers. I have personally chosen to #include <sys/types.h> in clientconnection.h, but <unistd.h> is also valid. Reproducible: Always Steps to Reproduce: 1. Use a strictly conformant POSIX system (such as musl libc). 2. Attempt to build KWayland. Actual Results: /usr/src/kde-frameworks/kwayland-5.5.5/work/kwayland-5.5.5/src/server/clientconnection.h:100:5: error: ‘uid_t’ does not name a type uid_t userId() const; ^ /usr/src/kde-frameworks/kwayland-5.5.5/work/kwayland-5.5.5/src/server/clientconnection.h:109:5: error: ‘gid_t’ does not name a type gid_t groupId() const; ^ Expected Results: Successful build. -- You are receiving this mail because: You are watching all bug changes.