about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFrankHB <frankhb1989@gmail.com>2015-12-31T13·18+0800
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-05T12·33+0100
commit607d91517e3b36837d4a0a9df3e3d7890f394169 (patch)
treec0ab5839277822621e531a378c4363c7056c7878 /src
parent743e31004682f6444c1c891c802233d52b106ee3 (diff)
Fixed unresolved 'BUFSIZ'
`BUFSIZ` is defined in header `<cstdio>`.
Diffstat (limited to 'src')
-rw-r--r--src/libutil/compression.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/compression.cc b/src/libutil/compression.cc
index 446fcb781564..fb4160669a29 100644
--- a/src/libutil/compression.cc
+++ b/src/libutil/compression.cc
@@ -2,6 +2,7 @@
 #include "types.hh"
 
 #include <lzma.h>
+#include <cstdio>
 
 namespace nix {