File tree Expand file tree Collapse file tree 4 files changed +19
-2
lines changed Expand file tree Collapse file tree 4 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ commitizen:
3
3
bump_message : ' bump(sockutls): $current_version -> $new_version'
4
4
pre_bump_hooks : python ../../ci/changelog.py sock_utils
5
5
tag_format : sock_utils-v$version
6
- version : 0.2.0
6
+ version : 0.2.1
7
7
version_files :
8
8
- idf_component.yml
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 0.2.1] ( https://github.com/espressif/esp-protocols/commits/sock_utils-v0.2.1 )
4
+
5
+ ### Bug Fixes
6
+
7
+ - Fix potential macro colission including standard headers ([ ade9448c] ( https://github.com/espressif/esp-protocols/commit/ade9448c ) )
8
+
3
9
## [ 0.2.0] ( https://github.com/espressif/esp-protocols/commits/sock_utils-v0.2.0 )
4
10
5
11
### Features
Original file line number Diff line number Diff line change 1
- version : 0.2.0
1
+ version : 0.2.1
2
2
description : The component provides helper implementation of common system/socket utilities
3
3
url : https://github.com/espressif/esp-protocols/tree/master/components/sock_utils
4
4
dependencies :
Original file line number Diff line number Diff line change 5
5
*/
6
6
#pragma once
7
7
8
+ #include "sdkconfig.h"
9
+ #ifndef CONFIG_IDF_TARGET_LINUX
10
+ #include <netinet/in.h> // For network-related definitions
11
+ #include <sys/socket.h> // For socket-related definitions
12
+ #include <net/if.h> // For interface flags (e.g., IFF_UP)
13
+ #include <netdb.h> // For NI_NUMERICHOST, NI_NUMERICSERV, etc.
14
+ #include <errno.h> // For EAI_BADFLAGS
15
+ #include <sys/un.h> // For AF_UNIX
16
+ #include <sys/types.h> // For PF_LOCAL
17
+ #endif
18
+
8
19
#ifndef NI_NUMERICHOST
9
20
#define NI_NUMERICHOST 0x1
10
21
#endif
You can’t perform that action at this time.
0 commit comments