nir: Add nir_foreach_shader_in/out_variable helpers
[mesa.git] / src / mesa / x86 / common_x86.c
index 36b2e82fb6329887f9278d5276f57c1557ed1900..a237fc0c9973a74723e15852ff53377bc5af4fab 100644 (file)
 #endif
 #endif
 
+#include <stdlib.h>
+
 #include "main/errors.h"
-#include "main/imports.h"
+
 #include "common_x86_asm.h"
 
 
@@ -158,10 +160,10 @@ void _mesa_check_os_sse_support( void )
    }
 #elif defined(_WIN32)
    LPTOP_LEVEL_EXCEPTION_FILTER oldFilter;
-   
+
    /* Install our ExceptionFilter */
    oldFilter = SetUnhandledExceptionFilter( ExceptionFilter );
-   
+
    if ( cpu_has_xmm ) {
       _mesa_debug(NULL, "Testing OS support for SSE...\n");