mirror of
				https://github.com/openwrt/openwrt.git
				synced 2025-10-30 07:49:23 +08:00 
			
		
		
		
	 fbe2ad6c60
			
		
	
	fbe2ad6c60
	
	
	
		
			
			This reverts commit 6268692bd2.
The new fortify-headers version needs some more work to be usable in
OpenWrt. Revert this to fix the builds again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			390 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			390 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/include/poll.h
 | |
| +++ b/include/poll.h
 | |
| @@ -39,7 +39,7 @@ _FORTIFY_FN(poll) int poll(struct pollfd
 | |
|  	return __orig_poll(__f, __n, __s);
 | |
|  }
 | |
|  
 | |
| -#ifdef _GNU_SOURCE
 | |
| +#if defined(_GNU_SOURCE) && !(defined(_REDIR_TIME64) && _REDIR_TIME64)
 | |
|  #undef ppoll
 | |
|  _FORTIFY_FN(ppoll) int ppoll(struct pollfd *__f, nfds_t __n, const struct timespec *__s,
 | |
|                               const sigset_t *__m)
 |