Cleanup: work-around missing inet.h struct mmsghdr fwd declaration
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 30 Apr 2014 07:08:27 +0000 (09:08 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 30 Apr 2014 07:08:27 +0000 (09:08 +0200)
Removes build warning.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/hello/hello.c

index 0c18c01a95a8e8ed9adad55b21c661c92a1c937e..68c137ee304d043489c673713e1f2ab98d80cd58 100644 (file)
 #include <fcntl.h>
 #include <signal.h>
 #include <string.h>
+/*
+ * Work-around inet.h missing struct mmsghdr forward declaration, with
+ * triggers a warning when system files warnings are enabled.
+ */
+struct mmsghdr;
 #include <arpa/inet.h>
 #include <stdlib.h>
 #include <stdbool.h>
This page took 0.025306 seconds and 4 git commands to generate.