aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fs
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-01-02 15:19:52 -0500
committerNick Mathewson <nickm@torproject.org>2019-01-02 15:19:52 -0500
commitb33bcb1e63c25d9107dfb7b1aa7ecd600674b352 (patch)
treec5973bf0dc66fde2f940bd99691bce2bde8360a1 /src/lib/fs
parenta9eec3364919a8e555631ef1654a016f1f00d59c (diff)
downloadtor-b33bcb1e63c25d9107dfb7b1aa7ecd600674b352.tar.gz
tor-b33bcb1e63c25d9107dfb7b1aa7ecd600674b352.zip
Add an errno.h include to freespace.c to fix bug 28974.
Diffstat (limited to 'src/lib/fs')
-rw-r--r--src/lib/fs/freespace.c1
1 files changed, 1 insertions, 0 deletions
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 <windows.h>
#endif
+#include <errno.h>
#include <string.h>
/** Return the amount of free disk space we have permission to use, in