소스 검색

Add an errno.h include to freespace.c to fix bug 28974.

Nick Mathewson 5 년 전
부모
커밋
b33bcb1e63
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      changes/bug28974
  2. 1 0
      src/lib/fs/freespace.c

+ 3 - 0
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.

+ 1 - 0
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