diff options
-rw-r--r-- | Android.mk | 7 | ||||
-rw-r--r-- | samsung-ipc/devices/aries/aries.c | 2 | ||||
-rw-r--r-- | samsung-ipc/devices/crespo/crespo.c | 2 | ||||
-rw-r--r-- | samsung-ipc/utils.c | 1 |
4 files changed, 8 insertions, 4 deletions
@@ -78,8 +78,7 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/include \ $(LOCAL_PATH)/samsung-ipc \ $(LOCAL_PATH)/samsung-ipc/devices/xmm616/ \ - $(LOCAL_PATH)/samsung-ipc/devices/xmm626/ \ - external/openssl/include + $(LOCAL_PATH)/samsung-ipc/devices/xmm626/ LOCAL_CFLAGS := \ -DIPC_DEVICE_NAME=\"$(ipc_device_name)\" \ @@ -99,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 @@ -113,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 a2220bd..39dd015 100644 --- a/samsung-ipc/devices/aries/aries.c +++ b/samsung-ipc/devices/aries/aries.c @@ -26,9 +26,11 @@ #include <unistd.h> #include <stdbool.h> #include <string.h> +#include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/mman.h> +#include <sys/select.h> #include <net/if.h> #include <samsung-ipc.h> diff --git a/samsung-ipc/devices/crespo/crespo.c b/samsung-ipc/devices/crespo/crespo.c index 3c4ca60..c6837e5 100644 --- a/samsung-ipc/devices/crespo/crespo.c +++ b/samsung-ipc/devices/crespo/crespo.c @@ -25,8 +25,10 @@ #include <unistd.h> #include <stdbool.h> #include <string.h> +#include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> +#include <sys/select.h> #include <samsung-ipc.h> #include <ipc.h> diff --git a/samsung-ipc/utils.c b/samsung-ipc/utils.c index 756d191..9468c97 100644 --- a/samsung-ipc/utils.c +++ b/samsung-ipc/utils.c @@ -22,6 +22,7 @@ #include <stdint.h> #include <unistd.h> #include <string.h> +#include <unistd.h> #include <fcntl.h> #include <ctype.h> #include <sys/ioctl.h> |