mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07:00
core: Include cstring whenever strncpy is used (#10404)
Fixes ppc64le build in alpine
This commit is contained in:
parent
dfb841c303
commit
a5c9b3e490
@ -5,6 +5,7 @@
|
||||
#include <print>
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
#include <cstring>
|
||||
|
||||
static int getUID() {
|
||||
const auto UID = getuid();
|
||||
|
Loading…
x
Reference in New Issue
Block a user