This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch hotfix/header-includes
in repository https://gitbox.apache.org/repos/asf/celix.git

commit a62656d8d181faed36963dc3279bb7a2faa82f37
Author: PengZheng <howto...@gmail.com>
AuthorDate: Wed Jul 17 19:39:12 2024 +0800

    Fix header includes.
---
 .../remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_client.c            | 1 +
 .../remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_server.c            | 1 +
 libs/framework/src/celix_bundle_cache.c                                 | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_client.c
 
b/bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_client.c
index 70ffba0b7..2b304dcc7 100644
--- 
a/bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_client.c
+++ 
b/bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_client.c
@@ -36,6 +36,7 @@
 #include <sys/param.h>
 #include <assert.h>
 #include <stdbool.h>
+#include <string.h>
 #include <errno.h>
 
 
diff --git 
a/bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_server.c
 
b/bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_server.c
index aaebbb368..6e40962b7 100644
--- 
a/bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_server.c
+++ 
b/bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_server.c
@@ -36,6 +36,7 @@
 #include <assert.h>
 #include <stdbool.h>
 #include <stddef.h>
+#include <string.h>
 #include <errno.h>
 
 #define MAX_RSA_SHM_SERVER_HANDLE_MSG_THREADS_NUM 5
diff --git a/libs/framework/src/celix_bundle_cache.c 
b/libs/framework/src/celix_bundle_cache.c
index cb0260c64..d401ac432 100644
--- a/libs/framework/src/celix_bundle_cache.c
+++ b/libs/framework/src/celix_bundle_cache.c
@@ -23,7 +23,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <dirent.h>
-#include <sys/errno.h>
+#include <errno.h>
 
 #include "celix_constants.h"
 #include "celix_log.h"

Reply via email to