Skip to content

Commit 6589e63

Browse files
committed
Fix missing errno header on musl build
Backport from kf/wasm3
1 parent acacde4 commit 6589e63

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/jloptions.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// This file is a part of Julia. License is MIT: https://julialang.org/license
22

33
#include <limits.h>
4+
#include <errno.h>
45

56
#include "julia.h"
67

src/signals-unix.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <sys/stat.h>
66
#include <sys/mman.h>
77
#include <pthread.h>
8+
#include <errno.h>
89
#if defined(_OS_DARWIN_) && !defined(MAP_ANONYMOUS)
910
#define MAP_ANONYMOUS MAP_ANON
1011
#endif

0 commit comments

Comments
 (0)