Skip to content

Commit eac54bb

Browse files
Thirumalai-Shaktivelcertik
authored andcommitted
Add _WIN32 preprocessor for unistd.h
1 parent 534377f commit eac54bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/runtime/impure/lfortran_intrinsics.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
#include <float.h>
1010
#include <limits.h>
1111
#include <fcntl.h>
12+
13+
#ifndef _WIN32
1214
#include <unistd.h>
15+
#endif
1316

1417
#include "lfortran_intrinsics.h"
1518

0 commit comments

Comments
 (0)