Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erts: check for sys/auxv.h #7500

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion erts/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ AC_CHECK_HEADERS(fcntl.h limits.h unistd.h syslog.h dlfcn.h ieeefp.h \
sys/socket.h sys/sockio.h sys/socketio.h \
net/errno.h malloc.h arpa/nameser.h libdlpi.h \
pty.h util.h libutil.h utmp.h langinfo.h poll.h sdkddkver.h \
elf.h)
elf.h sys/auxv.h)

AC_CHECK_MEMBERS([struct ifreq.ifr_hwaddr], [], [],
[#ifdef __WIN32__
Expand Down
2 changes: 2 additions & 0 deletions erts/emulator/asmjit/core/cpuinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@

// Required by `getauxval()` on Linux.
#if defined(__linux__)
#if defined(HAVE_SYS_AUXV_H)
#include <sys/auxv.h>
#endif
#endif

//! Required to detect CPU and features on Apple platforms.
#if defined(__APPLE__)
Expand Down