Skip to content

Commit 8c6dc34

Browse files
committed
Processing (*nix): fix compiling on Android 7
1 parent cf2034b commit 8c6dc34

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/common/processing_linux.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
#include <fcntl.h>
1212
#include <errno.h>
1313
#include <sys/wait.h>
14-
#include <spawn.h>
14+
15+
#if !(__ANDROID__ || __OpenBSD__)
16+
#include <spawn.h>
17+
#endif
1518

1619
#if defined(__FreeBSD__) || defined(__APPLE__)
1720
#include <sys/types.h>

0 commit comments

Comments
 (0)