keepalived: fix musl compatibility

- Add missing sys/types.h include to provide u_short type under musl

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich
2015-06-17 18:27:00 +02:00
parent 4116e327af
commit 508e19a190
2 changed files with 11 additions and 1 deletions
@@ -0,0 +1,10 @@
--- a/lib/utils.h
+++ b/lib/utils.h
@@ -31,6 +31,7 @@
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <sys/param.h>
+#include <sys/types.h>
#include <sys/utsname.h>
#include <netdb.h>