Commit bfb30355 authored by bg.chun's avatar bg.chun Committed by Uze Choi

[IOT-1361]Fix android X86_64 runtime issues

Add missing .h files on ifaddrs.h
and android caipnwmonitor.c for fix runtime issue.

Change-Id: Iec71fa0929b8682fda05a4d0d7cb89351be01d2d
Signed-off-by: default avatarbg.chun <bg.chun@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14537Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Larry Sachs's avatarLarry Sachs <larry.j.sachs@intel.com>
Reviewed-by: default avatarHyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: default avatarPhil Coval <philippe.coval@osg.samsung.com>
(cherry picked from commit 4eb8f69d)
Reviewed-on: https://gerrit.iotivity.org/gerrit/14457Reviewed-by: default avatarJaewook Jung <jw0213.jung@samsung.com>
Reviewed-by: default avatarJaehong Jo <jaehong.jo@samsung.com>
parent 5c9785a0
......@@ -19,6 +19,8 @@
******************************************************************/
#include "caifaddrs.h"
#include "oic_malloc.h"
#include "oic_string.h"
#include <stdbool.h>
#include <string.h>
......@@ -27,6 +29,7 @@
#include <unistd.h>
#include <sys/socket.h>
#include <net/if_arp.h>
#include <net/if.h>
#include <netinet/in.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
......@@ -201,7 +204,6 @@ CAResult_t CAGetIfaddrsUsingNetlink(struct ifaddrs **ifap)
}
}
exit:
// release all resources
close(netlinkFd);
......
......@@ -32,6 +32,7 @@
#include <coap/utlist.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <net/if.h>
#include "caadapterutils.h"
#include "caipnwmonitor.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment