summaryrefslogtreecommitdiff
blob: 30052f26815752a6a1ed5e25941b4d53eba0b7c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From dd0f554b5c1d563f9ee625c19c8745d8982e00e3 Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@debian.org>
Date: Thu, 2 Aug 2018 10:34:00 +0100
Subject: Fix build with Berkeley DB

Fixes Savannah bug #54425.

* libdb/db_btree.c: Include <stdlib.h> for free.
---
 libdb/db_btree.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libdb/db_btree.c b/libdb/db_btree.c
index fdd9b15..4469bf6 100644
--- a/libdb/db_btree.c
+++ b/libdb/db_btree.c
@@ -28,6 +28,7 @@
 /* below this line are routines only useful for the BTREE interface */
 #ifdef BTREE
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
-- 
cgit v1.0-41-gc330