mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
7f31bd25ad
* gnu/packages/patches/shadow-hurd-pctrl.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/admin.scm (shadow): Use it.
16 lines
427 B
Diff
16 lines
427 B
Diff
Avoid including sys/prctl.h on the Hurd.
|
|
|
|
Upstream status: Not submitted.
|
|
|
|
--- shadow-4.8.1/libmisc/idmapping.c.orig 2020-03-07 16:32:05.000000000 -0500
|
|
+++ shadow-4.8.1/libmisc/idmapping.c 2020-03-07 16:32:27.000000000 -0500
|
|
@@ -36,8 +36,8 @@
|
|
#include <stdio.h>
|
|
#include "prototypes.h"
|
|
#include "idmapping.h"
|
|
-#include <sys/prctl.h>
|
|
#if HAVE_SYS_CAPABILITY_H
|
|
+#include <sys/prctl.h>
|
|
#include <sys/capability.h>
|
|
#endif
|
|
|