main, res, tests: Fix compilation errors on FreeBSD.

asterisk.c, manager.c: Increase buffer sizes to avoid truncation warnings.
config.c: Include header file for WIFEXITED/WEXITSTATUS macros.
res_timing_kqueue: Use more portable format specifier.
test_crypto: Use non-linux limits.h header file.

Resolves: #916
(cherry picked from commit c807f39267)
This commit is contained in:
Naveen Albert
2024-09-29 09:26:10 -04:00
committed by Asterisk Development Team
parent 1efa7b87b8
commit 2e3879a609
5 changed files with 5 additions and 4 deletions

View File

@@ -44,6 +44,7 @@
#include <libgen.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <math.h> /* HUGE_VAL */
#include <regex.h>