Sync ubus familly tools.
This commit is contained in:
@@ -11,6 +11,12 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <linux/version.h>
|
||||
|
||||
#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,21)
|
||||
typedef unsigned short sa_family_t;
|
||||
#endif
|
||||
|
||||
#include <linux/un.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -300,6 +306,4 @@ log_shutdown(void)
|
||||
close(slog.fd.fd);
|
||||
close(klog.fd.fd);
|
||||
free(log);
|
||||
regfree(&pat_prio);
|
||||
regfree(&pat_tstamp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user