aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk4
-rw-r--r--samsung-ipc/devices/aries/aries.c1
-rw-r--r--samsung-ipc/devices/crespo/crespo.c1
-rw-r--r--samsung-ipc/devices/xmm616/xmm616.c1
-rw-r--r--samsung-ipc/utils.c1
5 files changed, 6 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index c89be14..ff9be2d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -98,7 +98,7 @@ LOCAL_SRC_FILES := tools/ipc-modem.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_STATIC_LIBRARIES := libsamsung-ipc
-LOCAL_SHARED_LIBRARIES := libutils
+LOCAL_SHARED_LIBRARIES := libutils libcrypto
LOCAL_MODULE := ipc-modem
LOCAL_MODULE_TAGS := optional
@@ -112,7 +112,7 @@ LOCAL_SRC_FILES := tools/ipc-test.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_STATIC_LIBRARIES := libsamsung-ipc
-LOCAL_SHARED_LIBRARIES := libutils
+LOCAL_SHARED_LIBRARIES := libutils libcrypto
LOCAL_MODULE := ipc-test
LOCAL_MODULE_TAGS := optional
diff --git a/samsung-ipc/devices/aries/aries.c b/samsung-ipc/devices/aries/aries.c
index 4133278..ec82a4f 100644
--- a/samsung-ipc/devices/aries/aries.c
+++ b/samsung-ipc/devices/aries/aries.c
@@ -25,6 +25,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
+#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
diff --git a/samsung-ipc/devices/crespo/crespo.c b/samsung-ipc/devices/crespo/crespo.c
index 80fbb4d..05831a3 100644
--- a/samsung-ipc/devices/crespo/crespo.c
+++ b/samsung-ipc/devices/crespo/crespo.c
@@ -24,6 +24,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
+#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/select.h>
diff --git a/samsung-ipc/devices/xmm616/xmm616.c b/samsung-ipc/devices/xmm616/xmm616.c
index 67aad8d..2737019 100644
--- a/samsung-ipc/devices/xmm616/xmm616.c
+++ b/samsung-ipc/devices/xmm616/xmm616.c
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <termios.h>
diff --git a/samsung-ipc/utils.c b/samsung-ipc/utils.c
index 7bc7859..0b16a86 100644
--- a/samsung-ipc/utils.c
+++ b/samsung-ipc/utils.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
+#include <unistd.h>
#include <fcntl.h>
#include <ctype.h>
#include <sys/ioctl.h>