Recent glibc versions do not expose major() and minor() without an explicit include of sysmacros.h anymore, therefor add it. Also remove duplicate types.h include while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>