diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-03-31 11:59:37 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-03-31 12:02:23 +0200 |
commit | 3fc59aec3627fe7df7c8b86004233345736f40df (patch) | |
tree | 9c9af435fe55ce6d92d3acd839e7363e36f8f29f /netdissect.c | |
parent | 6da51b3ec9fc858728e5ea981757d05f970958e0 (diff) | |
download | tcpdump-3fc59aec3627fe7df7c8b86004233345736f40df.tar.gz |
Fix some warnings
The warnings were:
implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
incompatible implicit declaration of built-in function 'malloc'
implicit declaration of function 'free' [-Wimplicit-function-declaration]
incompatible implicit declaration of built-in function 'free'
Diffstat (limited to 'netdissect.c')
-rw-r--r-- | netdissect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netdissect.c b/netdissect.c index 08a3280c..60c0a750 100644 --- a/netdissect.c +++ b/netdissect.c @@ -30,6 +30,7 @@ #include "netdissect.h" #include <string.h> #include <stdio.h> +#include <stdlib.h> #ifdef USE_LIBSMI #include <smi.h> |