mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
Include assert.h for DEBUGASSERT caller
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:

committed by
Masayuki Ishikawa

parent
d3f8f423d5
commit
1ee948e0c8
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* netutils/netlib/netlib_ipv4adaptor.c
|
||||
* apps/netutils/netlib/netlib_ipv4adaptor.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <net/if.h>
|
||||
@@ -87,7 +88,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int _netlib_ipv4adaptor(in_addr_t destipaddr, FAR in_addr_t *srcipaddr)
|
||||
static int _netlib_ipv4adaptor(in_addr_t destipaddr,
|
||||
FAR in_addr_t *srcipaddr)
|
||||
{
|
||||
FAR struct ifreq *ifr;
|
||||
struct ifconf ifc;
|
||||
|
Reference in New Issue
Block a user