summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/fix-procd-syslog-compile.patch
blob: 40d22b5f0416e1cf0ac74519469e822fb98eb8bc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linux-2.6.30.9/include/linux/un.h	2013-06-01 19:20:42.748450665 +0300
+++ linux-2.6.30.9/include/linux/un.h	2013-06-01 19:19:48.692449336 +0300
@@ -2,7 +2,7 @@
 #define _LINUX_UN_H
 
 #define UNIX_PATH_MAX	108
-
+typedef unsigned short	sa_family_t;
 struct sockaddr_un {
 	sa_family_t sun_family;	/* AF_UNIX */
 	char sun_path[UNIX_PATH_MAX];	/* pathname */