summaryrefslogtreecommitdiff
path: root/utils/loc_target.cpp
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2015-07-02 17:29:55 -0700
committerAshish Dhiman <dhiman@codeaurora.org>2015-07-15 15:18:06 +0530
commit99606eb4149baabd9ceda3b5c38939ea65317d78 (patch)
tree298f689c6d0574e3edf76fdf5b73622217d6d781 /utils/loc_target.cpp
parent1dfdcabc870cb9a54a2557b6997a87f41c48655b (diff)
downloadgps-99606eb4149baabd9ceda3b5c38939ea65317d78.tar.gz
Fix implicit declaration errors in gps hal.
Including string.h and stdlib.h to fix compiler errors Change-Id: I4e79c71b9e5691e51850adcc52f52b36f8e3d088
Diffstat (limited to 'utils/loc_target.cpp')
-rw-r--r--utils/loc_target.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/loc_target.cpp b/utils/loc_target.cpp
index 08f5584..faaedf6 100644
--- a/utils/loc_target.cpp
+++ b/utils/loc_target.cpp
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2015, 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>