Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions core/iwasm/libraries/lib-socket/inc/wasi_socket_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

/*Be a part of <wasi/api.h>*/

#ifdef __cplusplus
extern "C" {
#endif

typedef enum {
SOCKET_DGRAM = 0,
SOCKET_STREAM,
Expand Down Expand Up @@ -987,4 +991,9 @@ __wasi_sock_get_ipv6_only(__wasi_fd_t fd, bool *option)
* since don't want to re-compile the wasi-libc,
* we tend to keep original implentations of recv() and send().
*/

#ifdef __cplusplus
}
#endif

#endif