Skip to content

Commit 9c3e4a6

Browse files
committed
use limits.h instead of linux/limits.h on macOS
1 parent 5754fed commit 9c3e4a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runtime/flangrti/trace_lin.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
#include <string.h>
1616
#include <sys/types.h>
1717
#include <unistd.h>
18+
#ifdef TARGET_OSX
19+
#include <limits.h>
20+
#else
1821
#include <linux/limits.h>
22+
#endif
1923
#include <inttypes.h>
2024

2125
/* codes and strings for signals */

0 commit comments

Comments
 (0)