82 lines
1.8 KiB
Diff
Executable File
82 lines
1.8 KiB
Diff
Executable File
From 82ecf5badb818c40fba1e7ada16d53189dfe816b Mon Sep 17 00:00:00 2001
|
|
From: eng33 <eng33@luckfox.com>
|
|
Date: Tue, 30 Jan 2024 16:25:34 +0800
|
|
Subject: [PATCH 1/2] Fixed header file errors
|
|
|
|
---
|
|
client/main.c | 2 +-
|
|
client/player.c | 2 +-
|
|
src/shared/shell.c | 2 +-
|
|
tools/btmgmt.c | 2 +-
|
|
tools/obexctl.c | 2 +-
|
|
5 files changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/client/main.c b/client/main.c
|
|
index 1df94f0..2e19538 100644
|
|
--- a/client/main.c
|
|
+++ b/client/main.c
|
|
@@ -18,7 +18,7 @@
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <stdbool.h>
|
|
-#include <wordexp.h>
|
|
+#include <android/compat/wordexp.h>
|
|
|
|
#include <glib.h>
|
|
|
|
diff --git a/client/player.c b/client/player.c
|
|
index 0c59db6..e807ae0 100644
|
|
--- a/client/player.c
|
|
+++ b/client/player.c
|
|
@@ -23,7 +23,7 @@
|
|
#include <string.h>
|
|
#include <sys/ioctl.h>
|
|
#include <sys/uio.h>
|
|
-#include <wordexp.h>
|
|
+#include <android/compat/wordexp.h>
|
|
|
|
#include <glib.h>
|
|
|
|
diff --git a/src/shared/shell.c b/src/shared/shell.c
|
|
index dfda812..86eda9d 100644
|
|
--- a/src/shared/shell.c
|
|
+++ b/src/shared/shell.c
|
|
@@ -22,7 +22,7 @@
|
|
#include <stdbool.h>
|
|
#include <signal.h>
|
|
#include <sys/signalfd.h>
|
|
-#include <wordexp.h>
|
|
+#include <android/compat/wordexp.h>
|
|
#include <getopt.h>
|
|
|
|
#include <readline/readline.h>
|
|
diff --git a/tools/btmgmt.c b/tools/btmgmt.c
|
|
index ebef388..0cd8700 100644
|
|
--- a/tools/btmgmt.c
|
|
+++ b/tools/btmgmt.c
|
|
@@ -25,7 +25,7 @@
|
|
#include <poll.h>
|
|
#include <getopt.h>
|
|
#include <stdbool.h>
|
|
-#include <wordexp.h>
|
|
+#include <android/compat/wordexp.h>
|
|
#include <ctype.h>
|
|
|
|
#include "lib/bluetooth.h"
|
|
diff --git a/tools/obexctl.c b/tools/obexctl.c
|
|
index 56a7691..e8aed6a 100644
|
|
--- a/tools/obexctl.c
|
|
+++ b/tools/obexctl.c
|
|
@@ -20,7 +20,7 @@
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <inttypes.h>
|
|
-#include <wordexp.h>
|
|
+#include <android/compat/wordexp.h>
|
|
#include <ctype.h>
|
|
|
|
#include <glib.h>
|
|
--
|
|
2.34.1
|
|
|