diff options
author | Erlang/OTP <otp@erlang.org> | 2021-02-19 11:38:51 +0100 |
---|---|---|
committer | Erlang/OTP <otp@erlang.org> | 2021-02-19 11:38:51 +0100 |
commit | 499fbaf75c13a8e240fe6a0a77ed87ab17f81190 (patch) | |
tree | 3cae82ff0bc019c054cea126be0ace8f0181b1bc /erts/emulator/test/driver_SUITE_data/peek_non_existing_queue_drv.c | |
parent | 4b3e9c4569078cbf8b26740b5873a922e090b3f7 (diff) | |
parent | 2b91ffde7c25051206a8679fcbe401367b81e282 (diff) | |
download | erlang-499fbaf75c13a8e240fe6a0a77ed87ab17f81190.tar.gz |
Merge branch 'bjorn/macos11-otp21/OTP-16779' into maint-21
* bjorn/macos11-otp21/OTP-16779:
inets: Eliminate warnings in C code in tests
kernel: Eliminate warnings in C code in tests
erts: Eliminate warnings in C code in tests
Add missing include statements in in6addr tests
Update config scripts to compile for Apple Silicon (arm64)
macOS: Remove version check in configure script
Fix segfault(s) from variadic args on ARM64
Undo perform degradation on macOS
Diffstat (limited to 'erts/emulator/test/driver_SUITE_data/peek_non_existing_queue_drv.c')
-rw-r--r-- | erts/emulator/test/driver_SUITE_data/peek_non_existing_queue_drv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/test/driver_SUITE_data/peek_non_existing_queue_drv.c b/erts/emulator/test/driver_SUITE_data/peek_non_existing_queue_drv.c index 685cda3e07..b69d75c31d 100644 --- a/erts/emulator/test/driver_SUITE_data/peek_non_existing_queue_drv.c +++ b/erts/emulator/test/driver_SUITE_data/peek_non_existing_queue_drv.c @@ -47,6 +47,10 @@ #include <windows.h> #endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif + #include <errno.h> #include "erl_driver.h" |