s/#ifdef CONFIG_/#if ENABLE_/g
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
//#include <sys/types.h>
|
||||
//#include <netdb.h>
|
||||
//#include <sys/socket.h>
|
||||
#include "libbb.h"
|
||||
|
||||
#ifdef CONFIG_FEATURE_IPV6
|
||||
#if ENABLE_FEATURE_IPV6
|
||||
int create_icmp6_socket(void)
|
||||
{
|
||||
struct protoent *proto;
|
||||
|
@@ -7,9 +7,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
//#include <sys/types.h>
|
||||
//#include <netdb.h>
|
||||
//#include <sys/socket.h>
|
||||
#include "libbb.h"
|
||||
|
||||
int create_icmp_socket(void)
|
||||
|
@@ -164,7 +164,7 @@ char *INET_rresolve(struct sockaddr_in *s_in, int numeric, uint32_t netmask)
|
||||
return name;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FEATURE_IPV6
|
||||
#if ENABLE_FEATURE_IPV6
|
||||
|
||||
int INET6_resolve(const char *name, struct sockaddr_in6 *sin6)
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@
|
||||
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
||||
*/
|
||||
|
||||
#include <netdb.h>
|
||||
//#include <netdb.h>
|
||||
#include "libbb.h"
|
||||
|
||||
struct hostent *xgethostbyname(const char *name)
|
||||
|
Reference in New Issue
Block a user