Fix the build on Windows

This commit is contained in:
Jean Pierre Cimalando 2020-09-22 16:42:02 +02:00
parent 85883481c9
commit 5d4a3741b3

View file

@ -6,10 +6,14 @@
#pragma once
#include "ghc/fs_std.hpp"
#include <sndfile.h>
#include <array>
#include <memory>
#include <cstdio>
#if defined(_WIN32)
#define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1
#include <windows.h>
#endif
#include <sndfile.h>
namespace sfz {