Skip to content

Commit 32a6bdd

Browse files
committed
[Z80] Fix missing include in c-arcmt-test
1 parent a0b1fa1 commit 32a6bdd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

clang/tools/c-arcmt-test/c-arcmt-test.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
/* c-arcmt-test.c */
22

3+
#ifndef _WIN32
4+
#define _POSIX_C_SOURCE 200809L
5+
#endif
6+
37
#include "clang-c/Index.h"
48
#include <stdlib.h>
59
#include <stdio.h>
610
#include <string.h>
711
#if defined(_WIN32)
812
#include <io.h>
913
#include <fcntl.h>
14+
#else
15+
#include <unistd.h>
1016
#endif
1117

1218
static int print_remappings(const char *path) {

0 commit comments

Comments
 (0)