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:
parent
ddebc52325
commit
c289ee3199
2 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue