diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2015-12-22 18:15:09 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2015-12-22 18:15:09 +0100 |
commit | 1c6f0cf5abee97a4c90e0f9259ea71cc706c7613 (patch) | |
tree | f32e5a885dadcc5a37fca4c33bcb1b9577ef1ba3 | |
parent | c2d1f0395c947828ed912999bf14b066d1c51e94 (diff) | |
download | external_libsamsung-ipc-1c6f0cf5abee97a4c90e0f9259ea71cc706c7613.zip external_libsamsung-ipc-1c6f0cf5abee97a4c90e0f9259ea71cc706c7613.tar.gz external_libsamsung-ipc-1c6f0cf5abee97a4c90e0f9259ea71cc706c7613.tar.bz2 |
fix the rest of linker errors and get rid of implicit declaration warnings
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | Android.mk | 4 | ||||
-rw-r--r-- | samsung-ipc/devices/aries/aries.c | 1 | ||||
-rw-r--r-- | samsung-ipc/devices/crespo/crespo.c | 1 | ||||
-rw-r--r-- | samsung-ipc/devices/xmm616/xmm616.c | 1 | ||||
-rw-r--r-- | samsung-ipc/utils.c | 1 |
5 files changed, 6 insertions, 2 deletions
@@ -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> |