From: Mathieu Desnoyers Date: Wed, 30 Apr 2014 07:08:27 +0000 (+0200) Subject: Cleanup: work-around missing inet.h struct mmsghdr fwd declaration X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=3e4e9902d1564c56a1193b133c6dffded0dc29db;p=lttng-ust.git Cleanup: work-around missing inet.h struct mmsghdr fwd declaration Removes build warning. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/hello/hello.c b/tests/hello/hello.c index 0c18c01a..68c137ee 100644 --- a/tests/hello/hello.c +++ b/tests/hello/hello.c @@ -26,6 +26,11 @@ #include #include #include +/* + * Work-around inet.h missing struct mmsghdr forward declaration, with + * triggers a warning when system files warnings are enabled. + */ +struct mmsghdr; #include #include #include