mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	fix a compile error with uclibc 0.9.32 and newer kernels
SVN-Revision: 24735
This commit is contained in:
		
							parent
							
								
									014d3b98b9
								
							
						
					
					
						commit
						010b64f251
					
				@ -0,0 +1,17 @@
 | 
			
		||||
--- a/libc/inet/netlinkaccess.h
 | 
			
		||||
+++ b/libc/inet/netlinkaccess.h
 | 
			
		||||
@@ -25,12 +25,8 @@
 | 
			
		||||
 #include <sys/types.h>
 | 
			
		||||
 
 | 
			
		||||
 #if defined __ASSUME_NETLINK_SUPPORT || defined __UCLIBC_USE_NETLINK__
 | 
			
		||||
-#define _LINUX_TYPES_H
 | 
			
		||||
-typedef uint8_t __u8;
 | 
			
		||||
-typedef uint16_t __u16;
 | 
			
		||||
-typedef uint32_t __u32;
 | 
			
		||||
-typedef uint64_t __u64;
 | 
			
		||||
-typedef int32_t __s32;
 | 
			
		||||
+
 | 
			
		||||
+#include <linux/types.h>
 | 
			
		||||
 #include <linux/rtnetlink.h>
 | 
			
		||||
 #include <linux/netlink.h>
 | 
			
		||||
 
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user