Skip to content

Commit 6e050af

Browse files
committed
Fixing linux build errors
1 parent 79adaf9 commit 6e050af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile.am

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ else
3434
libmfx_la_SOURCES += \
3535
src/mfx_va_glue.c \
3636
src/mfx_critical_section_linux.cpp \
37-
src/mfx_library_iterator_linux.cpp \
3837
src/mfx_load_dll_linux.cpp \
3938
src/mfx_plugin_cfg_parser.cpp \
4039
src/mfx_plugin_hive_linux.cpp

src/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919
// SOFTWARE.
2020

21+
#ifndef MFX_HAVE_LINUX
2122
#include <windows.h>
2223
#include <stringapiset.h>
24+
#endif
2325

2426
#include <new>
2527
#include <memory>

0 commit comments

Comments
 (0)