systemd: workaround compilation failures against old glibc
Building against older libc/kernel headers can fail, because our glue code for systemd has issues. Fix them by forward declaring "struct statx" and by disabling parts of "socket-util.c".
This commit is contained in:
@@ -140,6 +140,10 @@ NM_PRAGMA_WARNING_DISABLE("-Wdeclaration-after-statement")
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
struct statx;
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
static inline pid_t
|
||||
raw_getpid(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user