]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/idmapping.c: Unconditionally include <sys/prctl.h>
authorAlejandro Colomar <alx@kernel.org>
Tue, 12 Nov 2024 13:42:12 +0000 (14:42 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 8 Feb 2025 05:43:55 +0000 (23:43 -0600)
It's a widely available header.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/idmapping.c

index 89c03b10113b770b105de627872fae051b14f720..cef73b4f4f971c49a89287ae0cb690c1074de74c 100644 (file)
@@ -12,8 +12,8 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <strings.h>
-#if HAVE_SYS_CAPABILITY_H
 #include <sys/prctl.h>
+#if HAVE_SYS_CAPABILITY_H
 #include <sys/capability.h>
 #endif