regtest/database.c: Fix compilation with MSVC

getcwd function requires direct.h header.
This commit is contained in:
evpobr 2017-05-08 11:14:45 +05:00 committed by Erik de Castro Lopo
parent 9f5b4e5d8d
commit 0cdd232b9f

View File

@ -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>