summaryrefslogtreecommitdiffstats
path: root/samsung-ril.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-03-31 12:53:15 +0200
committerPaul Kocialkowski <contact@paulk.fr>2013-03-31 12:53:15 +0200
commit64738a0f15ffb1c3c1ebf10dfb2bb6dd6dbcfc70 (patch)
treecdfb7c600dd265d7c5aa41a4601cd8e4098e3b1f /samsung-ril.h
parent92a9f65883aa97ef321b1a2fe2ce9939d624a59b (diff)
downloadhardware_ril_samsung-ril-64738a0f15ffb1c3c1ebf10dfb2bb6dd6dbcfc70.zip
hardware_ril_samsung-ril-64738a0f15ffb1c3c1ebf10dfb2bb6dd6dbcfc70.tar.gz
hardware_ril_samsung-ril-64738a0f15ffb1c3c1ebf10dfb2bb6dd6dbcfc70.tar.bz2
ipc: Refactor code, check for NULL pointers and prevent memory leaks
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ril.h')
-rw-r--r--samsung-ril.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/samsung-ril.h b/samsung-ril.h
index 60aca04..0b14972 100644
--- a/samsung-ril.h
+++ b/samsung-ril.h
@@ -22,6 +22,8 @@
#ifndef _SAMSUNG_RIL_H_
#define _SAMSUNG_RIL_H_
+#include <errno.h>
+#include <string.h>
#include <pthread.h>
#include <utils/Log.h>