1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

ipv6: migrate header includes to private.h

This commit is contained in:
Andy Green 2019-02-28 09:44:28 +08:00
parent ddebc52325
commit c289ee3199
2 changed files with 9 additions and 10 deletions

View file

@ -24,6 +24,15 @@
#include "roles/private.h"
#ifdef LWS_WITH_IPV6
#if defined(WIN32) || defined(_WIN32)
#include <wincrypt.h>
#include <iphlpapi.h>
#else
#include <net/if.h>
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif

View file

@ -25,16 +25,6 @@
#include <sys/types.h>
#endif
#ifdef LWS_WITH_IPV6
#if defined(WIN32) || defined(_WIN32)
#include <wincrypt.h>
#include <iphlpapi.h>
#else
#include <net/if.h>
#endif
#endif
signed char char_to_hex(const char c)
{
if (c >= '0' && c <= '9')