From ee8cbc5fca779ff054a50ed8e6271952367147c7 Mon Sep 17 00:00:00 2001 From: Julien Beraud Date: Tue, 21 Mar 2017 14:23:56 +0100 Subject: [PATCH] apr: fix size of pid_t pid_t is a signed 32bits integer on both 32bits and 64bits architectures. This fixes an issue with apache server which causes bad pid to be written in PidFile Signed-off-by: Julien Beraud Signed-off-by: Thomas Petazzoni --- package/apr/apr.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/apr/apr.mk b/package/apr/apr.mk index 361a79f99b..f09f94368c 100644 --- a/package/apr/apr.mk +++ b/package/apr/apr.mk @@ -22,6 +22,7 @@ APR_CONF_ENV = \ apr_cv_mutex_robust_shared=no \ apr_cv_tcp_nodelay_with_cork=yes \ ac_cv_sizeof_struct_iovec=8 \ + ac_cv_sizeof_pid_t=4 \ ac_cv_struct_rlimit=yes \ ac_cv_o_nonblock_inherited=no \ apr_cv_mutex_recursive=yes -- 2.30.2