diff options
author | Elliott Hughes <enh@google.com> | 2015-02-19 16:41:05 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-02-19 16:41:05 -0800 |
commit | 31db56e5b40726fed587656ac1730705c79741b9 (patch) | |
tree | 3c7f9457ef5d40e5cd15d5ba2650e086fc058971 | |
parent | 4ccc2546dc556c063c697ba7a27aee87bec7e775 (diff) | |
download | android_external_dhcpcd-31db56e5b40726fed587656ac1730705c79741b9.tar.gz android_external_dhcpcd-31db56e5b40726fed587656ac1730705c79741b9.tar.bz2 android_external_dhcpcd-31db56e5b40726fed587656ac1730705c79741b9.zip |
Fix implicit function declarations.
Change-Id: Ie817cb4df05ae1edb9ec9149a5c15aac5c51dad4
-rw-r--r-- | ifaddrs.c | 1 | ||||
-rw-r--r-- | showlease.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -20,6 +20,7 @@ #include "ifaddrs.h" #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <sys/types.h> #include <dirent.h> diff --git a/showlease.c b/showlease.c index 50f96df..1257337 100644 --- a/showlease.c +++ b/showlease.c @@ -1,7 +1,9 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <errno.h> #include <fcntl.h> +#include <unistd.h> #include "dhcp.h" #include "config.h" |