We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 888d101 commit cb78432Copy full SHA for cb78432
configure.ac
@@ -5594,14 +5594,15 @@ AC_CHECK_DECLS([UT_NAMESIZE],
5594
[Define if you have the 'HAVE_UT_NAMESIZE' constant.])],
5595
[],
5596
[@%:@include <utmp.h>])
5597
-
+# musl libc redefines struct prctl_mm_map and conflicts with linux/prctl.h
5598
+AS_IF([test "$ac_cv_libc" != musl], [
5599
AC_CHECK_DECLS([PR_SET_VMA_ANON_NAME],
5600
[AC_DEFINE([HAVE_PR_SET_VMA_ANON_NAME], [1],
5601
[Define if you have the 'PR_SET_VMA_ANON_NAME' constant.])],
5602
5603
[@%:@include <linux/prctl.h>
5604
@%:@include <sys/prctl.h>])
5605
+])
5606
# check for openpty, login_tty, and forkpty
5607
5608
AC_CHECK_FUNCS([openpty], [],
0 commit comments