aboutsummaryrefslogtreecommitdiff
path: root/src/xzdec/xzdec.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-01-31 11:01:48 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-01-31 11:01:48 +0200
commit6a2eb54092fc625d59921a607ff68cd1a90aa898 (patch)
tree83d03f866e998f3576e127196a41b5ff5265c1d4 /src/xzdec/xzdec.c
parentUse _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. (diff)
downloadxz-6a2eb54092fc625d59921a607ff68cd1a90aa898.tar.xz
Add LZMA_API to liblzma API headers. It's useful at least
on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h has to be #included separately where needed.
Diffstat (limited to '')
-rw-r--r--src/xzdec/xzdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c
index d6f4252f..a9deaa3a 100644
--- a/src/xzdec/xzdec.c
+++ b/src/xzdec/xzdec.c
@@ -18,6 +18,7 @@
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"
+#include "lzma.h"
#include <errno.h>
#include <stdio.h>