mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
This will make it easier to modify the patch series moving forward. No functional changes. On one patch, we added the SoB from Giulio, which was missing. Giulio was the original contributor of the patch, and nobody touched it since it was introduced. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
35 lines
995 B
Diff
35 lines
995 B
Diff
From 8f351150de38641c8ce2e9b7f9a5cba29ccd8f7e Mon Sep 17 00:00:00 2001
|
|
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
Date: Sun, 14 Jul 2024 13:00:02 +0200
|
|
Subject: [PATCH] core/adbd/adb.c: include correct header for prctl()
|
|
|
|
As documented by prctl(2), the correct header to include for prctl()
|
|
is <sys/prctl.h>, not <linux/prctl.h>.
|
|
|
|
Fixes:
|
|
|
|
core/adbd/adb.c:1256:13: error: implicit declaration of function 'prctl' [-Wimplicit-function-declaration]
|
|
|
|
Upstream: N/A, we're too far from upstream
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
---
|
|
core/adbd/adb.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/core/adbd/adb.c b/core/adbd/adb.c
|
|
index 98b1de1..10f420b 100644
|
|
--- a/core/adbd/adb.c
|
|
+++ b/core/adbd/adb.c
|
|
@@ -42,7 +42,7 @@
|
|
#include "android_filesystem_config.h"
|
|
#include <linux/capability.h>
|
|
#include <sys/syscall.h>
|
|
-#include <linux/prctl.h>
|
|
+#include <sys/prctl.h>
|
|
#include <sys/mount.h>
|
|
#else
|
|
#include "usb_vendors.h"
|
|
--
|
|
2.47.0
|
|
|