]> The Tcpdump Group git mirrors - tcpdump/commitdiff
squelch compiler warnings after previous commit
authorDenis Ovsienko <[email protected]>
Sun, 30 Mar 2014 15:21:58 +0000 (19:21 +0400)
committerDenis Ovsienko <[email protected]>
Sun, 30 Mar 2014 15:21:58 +0000 (19:21 +0400)
It was OK with GCC but Clang wants <stdlib.h> back because of malloc()
and free() that shouldn't be declared implicitly.

print-rx.c

index 9f163d6422322dc7ddd13fecc7dc0635bbc4e123..5f98eb7ac779786c0b3d9cc0581299088659b846 100644 (file)
@@ -38,6 +38,7 @@
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <tcpdump-stdinc.h>