Skip to content

Commit 99df440

Browse files
committed
Add missing direct.h include for getcwd on MSVC
1 parent 007a641 commit 99df440

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/modules/xml/consumer_xml.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
#ifndef _MSC_VER
3131
#include <unistd.h>
32+
#else
33+
#include <direct.h>
3234
#endif
3335

3436
#define ID_SIZE 128

0 commit comments

Comments
 (0)