blob: 51489b32de5ed6dba7d3ec389a6821cfc9455b32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/configure.ac 2022-12-15 10:33:13.845801113 +0300
+++ b/configure.ac 2022-12-15 10:33:39.828949903 +0300
@@ -342,6 +342,9 @@
LIBS="$LIBS -ldb"
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <db.h>
+ #ifdef HAVE_STDLIB_H
+ #include <stdlib.h>
+ #endif
int main()
{
int major, minor, patch;
@@ -377,6 +378,9 @@
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <db.h>
+ #ifdef HAVE_STDLIB_H
+ #include <stdlib.h>
+ #endif
int main()
{
int major, minor, patch;
|