mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 02:39:07 +00:00 
			
		
		
		
	The ebpf packages were somewhat neglected during the restructuring of the the repository and currently do not build. They were also a little awkward to use. So move them to ./projects for now until it matures. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			615 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			615 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- lib/system.h-orig
 | |
| +++ lib/system.h
 | |
| @@ -70,6 +70,14 @@
 | |
|  
 | |
|  #define gettext_noop(Str) Str
 | |
|  
 | |
| +#ifndef TEMP_FAILURE_RETRY
 | |
| +# define TEMP_FAILURE_RETRY(expression) \
 | |
| +  (__extension__                                                              \
 | |
| +    ({ long int __result;                                                     \
 | |
| +       do __result = (long int) (expression);                                 \
 | |
| +       while (__result == -1L && errno == EINTR);                             \
 | |
| +       __result; }))
 | |
| +#endif
 | |
|  
 | |
|  #define pwrite_retry(fd, buf,  len, off) \
 | |
|    TEMP_FAILURE_RETRY (pwrite (fd, buf, len, off))
 |