Fixes ping on s390x.

diff --git a/ping.c b/ping.c
index a0857a1..329553d 100644
--- a/ping.c
+++ b/ping.c
@@ -108,8 +108,11 @@ static int parsetos(char *str);
 static struct {
 	struct cmsghdr cm;
 	struct in_pktinfo ipi;
-} cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},
-	   {0, }};
+} cmsg = { .cm = {
+		.cmsg_len = sizeof(struct cmsghdr) + sizeof(struct in_pktinfo),
+		.cmsg_level = SOL_IP,
+		.cmsg_type = IP_PKTINFO},
+	   .ipi = {0, }};
 int cmsg_len;
 
 struct sockaddr_in source;
