summaryrefslogtreecommitdiff
path: root/utils/loc_target.cpp
diff options
context:
space:
mode:
authorDongmei Wang <dongme@codeaurora.org>2014-06-27 14:21:50 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2014-12-04 23:07:12 -0800
commit91ece00117a01e54e26a863f9a57be2120b55506 (patch)
tree11650f9b2a8dbf7df1d6f4f38eb65ed602f7748e /utils/loc_target.cpp
parent70b94ae2c182efb680199b17c3efa5208e67d08f (diff)
downloadgps-91ece00117a01e54e26a863f9a57be2120b55506.tar.gz
loc-hal:porting from ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.040
It contains the following changes: - porting from AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.040 - updated package loc-api files according to the merge - rename loc-api to loc-hal - dynamically load liblbs_core.so.1 file for LE platforms - print a warning message when loading the lbs_core library fails CRs-fixed: 605821 Change-Id: I54e1a9c742d1734ffa29e6864901119e0ee600c8
Diffstat (limited to 'utils/loc_target.cpp')
-rw-r--r--utils/loc_target.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/loc_target.cpp b/utils/loc_target.cpp
index a3ef6b3..5eff171 100644
--- a/utils/loc_target.cpp
+++ b/utils/loc_target.cpp
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012,2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -29,6 +29,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -38,6 +39,7 @@
#include "loc_target.h"
#include "loc_log.h"
#include "log_util.h"
+#include <platform_lib_includes.h>
#define APQ8064_ID_1 "109"
#define APQ8064_ID_2 "153"