From b33bcb1e63c25d9107dfb7b1aa7ecd600674b352 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 2 Jan 2019 15:19:52 -0500 Subject: [PATCH] Add an errno.h include to freespace.c to fix bug 28974. --- changes/bug28974 | 3 +++ src/lib/fs/freespace.c | 1 + 2 files changed, 4 insertions(+) create mode 100644 changes/bug28974 diff --git a/changes/bug28974 b/changes/bug28974 new file mode 100644 index 0000000000..2d74f5674f --- /dev/null +++ b/changes/bug28974 @@ -0,0 +1,3 @@ + o Minor bugfixes (compilation): + - Fix compilation for Android by adding a missing header to + freespace.c. Fixes bug 28974; bugfix on 0.3.5.1-alpha. diff --git a/src/lib/fs/freespace.c b/src/lib/fs/freespace.c index 2dbba3c5f8..c18b1e0234 100644 --- a/src/lib/fs/freespace.c +++ b/src/lib/fs/freespace.c @@ -19,6 +19,7 @@ #include #endif +#include #include /** Return the amount of free disk space we have permission to use, in