Hello,

Milos Nikic, le lun. 23 juin 2025 21:17:32 -0700, a ecrit:
> include the missing header, fix the warning.

Better include it the usual way, as <intel/read_fault.h>, and outside
the #if

> ---
>  i386/intel/read_fault.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/i386/intel/read_fault.c b/i386/intel/read_fault.c
> index 8ff64bbe..c91d4e4d 100644
> --- a/i386/intel/read_fault.c
> +++ b/i386/intel/read_fault.c
> @@ -34,6 +34,7 @@
>  #include <kern/macros.h>
>  
>  #if (__i386__ && !(__i486__ || __i586__ || __i686__))
> +#include "read_fault.h"
>  /*
>   *   Expansion of vm_fault for read fault in kernel mode.
>   *   Must enter the mapping as writable, since the i386
> -- 
> 2.50.0
> 
> 

-- 
Samuel
<S> KK1 a 1 conseil de comment s'attaquer a du code java ou ya plus de 50 
classes ? par kel bout ?
<B> le troisième
 -+- #ens-mim en stage -+-

Reply via email to