Skip to content

Commit dc48b41

Browse files
committed
fix build on Windows 8 and Windows Server 2012
1 parent b844826 commit dc48b41

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

daemon.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#include <windows.h>
2+
#if _WIN32_WINNT >= 0x0602 /* Windows 8 and Windows Server 2012 */
3+
# include <Processthreadsapi.h>
4+
#endif
25
#include <direct.h>
36
#include <stdio.h>
47
#include <tchar.h>

0 commit comments

Comments
 (0)