summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-02 17:21:47 -0700
committerElliott Hughes <enh@google.com>2015-04-02 17:21:47 -0700
commit8193d41ea696973c181ee45e377d8390d5d353a5 (patch)
tree157c37e8cdc469341eaab1aa84da32d73c93667b
parent4c1d4a0e8ec344799813ce5e6642946839e0036a (diff)
downloadsystem_core-8193d41ea696973c181ee45e377d8390d5d353a5.zip
system_core-8193d41ea696973c181ee45e377d8390d5d353a5.tar.gz
system_core-8193d41ea696973c181ee45e377d8390d5d353a5.tar.bz2
Fix Windows strlcpy.c build.
Change-Id: I572c553227a5a2cd57ec304de7e898d7c801fe93
-rw-r--r--libcutils/strlcpy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcutils/strlcpy.c b/libcutils/strlcpy.c
index 360abc5..c66246c 100644
--- a/libcutils/strlcpy.c
+++ b/libcutils/strlcpy.c
@@ -14,11 +14,10 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <features.h>
+#include <sys/types.h>
#if defined(__GLIBC__) || defined(_WIN32)
-#include <sys/types.h>
#include <string.h>
#include <cutils/memory.h>