Include <stdlib.h> for NULL in the cpuid autoconf test.
This commit is contained in:
parent
1e7fccf806
commit
ce38abed70
@ -203,6 +203,7 @@ AC_SUBST(HAVE_TI_MODE_V)
|
|||||||
AC_MSG_CHECKING(for cpuid instruction)
|
AC_MSG_CHECKING(for cpuid instruction)
|
||||||
HAVE_CPUID_V=0
|
HAVE_CPUID_V=0
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
#include <stdlib.h>
|
||||||
]], [[
|
]], [[
|
||||||
unsigned int level = 0;
|
unsigned int level = 0;
|
||||||
unsigned int *eax = NULL, *ebx = NULL, *ecx = NULL, *edx = NULL;
|
unsigned int *eax = NULL, *ebx = NULL, *ecx = NULL, *edx = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user