Remove include from within Eigen namespace.

libeigen/eigen!2294
This commit is contained in:
Antonio Sánchez
2026-03-13 21:03:24 +00:00
parent c1faa74738
commit 9ae0e0f195
2 changed files with 5 additions and 4 deletions

View File

@@ -129,6 +129,11 @@
#include <intrin.h>
#endif
// Required for querying cache sizes on macOS.
#if EIGEN_OS_MAC
#include <sys/sysctl.h>
#endif
#if defined(EIGEN_USE_SYCL)
#undef min
#undef max

View File

@@ -977,10 +977,6 @@ class aligned_allocator {
//---------- Cache sizes ----------
#if EIGEN_OS_MAC
#include <sys/sysctl.h>
#endif
#if !defined(EIGEN_NO_CPUID)
#if EIGEN_COMP_GNUC && EIGEN_ARCH_i386_OR_x86_64
#if defined(__PIC__) && EIGEN_ARCH_i386