Skip to content

Commit

Permalink
Add Playstation 2 missing macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolf3s committed Nov 20, 2023
1 parent 3644a5a commit e3c19cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,9 @@ connect_async_ai(struct smb2_context *smb2, const struct addrinfo *ai, int *fd_o
struct sockaddr_storage ss;
#if 0 == CONFIGURE_OPTION_TCP_LINGER
int const yes = 1;
#if defined(PS2_EE_PLATFORM) || defined(PS2_IOP_PLATFORM)
struct LingerStruct { int l_onoff; /* linger active */ int l_linger; /* how many seconds to linger for */ };
#endif
struct LingerStruct const lin = { .l_onoff = 1, .l_linger = 0 }; /* if l_linger is zero, sends RST after FIN */
#endif
memset(&ss, 0, sizeof(ss));
Expand Down

0 comments on commit e3c19cb

Please sign in to comment.