Skip to content

Commit 7a7ccac

Browse files
committed
Resolve missing include for Dev12 build.
Fixes #1398
1 parent fd61150 commit 7a7ccac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/ch/Helpers.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
//-------------------------------------------------------------------------------------------------------
55
#include "stdafx.h"
66

7+
#include <sys/stat.h>
8+
79
//TODO: x-plat definitions
810
#ifdef _WIN32
911
typedef char16 TTDHostCharType;
@@ -112,8 +114,6 @@ JsTTDStreamHandle TTDHostOpen(const TTDHostCharType* path, bool isWrite)
112114
#include <libgen.h>
113115
#include <dirent.h>
114116

115-
#include <sys/stat.h>
116-
117117
typedef utf8char_t TTDHostCharType;
118118
typedef struct dirent* TTDHostFileInfo;
119119
typedef DIR* TTDHostFindHandle;
@@ -193,7 +193,7 @@ JsTTDStreamHandle TTDHostOpen(const TTDHostCharType* path, bool isWrite)
193193

194194
#ifdef __APPLE__
195195
#define TTDHostCWD(dst) nullptr
196-
#define TTDDoPathInit(dst)
196+
#define TTDDoPathInit(dst)
197197
#define TTDHostTok(opath, TTDHostPathSeparator, context) nullptr
198198
#define TTDHostStat(cpath, statVal) 0
199199

@@ -203,7 +203,7 @@ JsTTDStreamHandle TTDHostOpen(const TTDHostCharType* path, bool isWrite)
203203

204204
#define TTDHostFindFirst(strPattern, FileInformation) nullptr
205205
#define TTDHostFindNext(hFile, FileInformation) TTDHostFindInvalid
206-
#define TTDHostFindClose(hFile)
206+
#define TTDHostFindClose(hFile)
207207

208208
#define TTDHostDirInfoName(FileInformation) ((const TTDHostCharType*)"\0")
209209

0 commit comments

Comments
 (0)