mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	tests: fix uClibc for getversion.c
This patch fixes compilation with uClibc by applying the same fallback
as commit e12d76176d to the `getversion.c`
file, which was previously overlooked.
 
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Closes #16735
Closes #16741
			
			
This commit is contained in:
		
							parent
							
								
									3462f3bd50
								
							
						
					
					
						commit
						de2e9a5c6b
					
				| @ -19,9 +19,13 @@ | |||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #include <sys/ioctl.h> | #include <sys/ioctl.h> | ||||||
|  | #ifdef _KERNEL | ||||||
|  | #include <sys/fcntl.h> | ||||||
|  | #else | ||||||
|  | #include <fcntl.h> | ||||||
|  | #endif | ||||||
| #include <linux/fs.h> | #include <linux/fs.h> | ||||||
| #include <err.h> | #include <err.h> | ||||||
| #include <fcntl.h> |  | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 José Luis Salvador Rufo
						José Luis Salvador Rufo