Skip to content

Commit

Permalink
Fix build with --disable-libarchive. Closes: #961
Browse files Browse the repository at this point in the history
  • Loading branch information
jlindgren90 committed Apr 14, 2020
1 parent 2fc947e commit 27313f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libaudcore/archive_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* the use of this software.
*/

#ifdef USE_LIBARCHIVE

#include "archive_reader.h"
#include "audstrings.h"
#include "runtime.h"
Expand Down Expand Up @@ -166,3 +168,5 @@ int64_t VFSArchiveReaderImpl::fread (void * ptr, int64_t size, int64_t nmemb)

return ret;
}

#endif // USE_LIBARCHIVE

0 comments on commit 27313f0

Please sign in to comment.