mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
regtest/database.c: Fix compilation with MSVC
getcwd function requires direct.h header.
This commit is contained in:
parent
9f5b4e5d8d
commit
0cdd232b9f
@ -27,6 +27,9 @@
|
||||
#endif
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#ifdef HAVE_DIRECT_H
|
||||
#include <direct.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <sndfile.h>
|
||||
|
Loading…
Reference in New Issue
Block a user