summaryrefslogtreecommitdiffstats
path: root/libnetutils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-28 11:37:57 -0800
committerElliott Hughes <enh@google.com>2015-01-28 11:37:57 -0800
commita744b05984a963966cec08758ffe582d241be9d7 (patch)
treef9bde7bcbcc5f3e49cafe045b5951d3acdf27d23 /libnetutils
parent9c4c5a6ed934490ba0fcce661594975a6f4c2c89 (diff)
downloadsystem_core-a744b05984a963966cec08758ffe582d241be9d7.zip
system_core-a744b05984a963966cec08758ffe582d241be9d7.tar.gz
system_core-a744b05984a963966cec08758ffe582d241be9d7.tar.bz2
Add missing <malloc.h> and <string.h> includes.
Change-Id: Ia41756e607663d056e7d2fdd7ecbec7e5841a913
Diffstat (limited to 'libnetutils')
-rw-r--r--libnetutils/packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnetutils/packet.c b/libnetutils/packet.c
index a878dd3..cd26d05 100644
--- a/libnetutils/packet.c
+++ b/libnetutils/packet.c
@@ -15,6 +15,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <sys/uio.h>
#include <sys/socket.h>