Skip to content

Commit

Permalink
Fix Linux building
Browse files Browse the repository at this point in the history
  • Loading branch information
Asd-g committed May 7, 2022
1 parent dcc9acc commit 3bf6a9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
#include <cstdio>
#include <memory>

#ifndef _WIN32
#include <avisynth.h>
#include "win_import_min.h"
#endif
#include "misc.h"


Expand Down
5 changes: 5 additions & 0 deletions src/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
#ifndef MPEG2DECPLUS_MISC_H
#define MPEG2DECPLUS_MISC_H

#ifndef _WIN32
#include <avisynth.h>
#include "win_import_min.h"
#endif

void __stdcall
fast_copy(const uint8_t* src, const int src_stride, uint8_t* dst,
const int dst_stride, const int horizontal_size,
Expand Down

0 comments on commit 3bf6a9b

Please sign in to comment.