Skip to content

Commit

Permalink
Minor fix on including headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakio815 committed Feb 2, 2025
1 parent 2772e86 commit cb5b23b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions network/impl/src/lf_sst_support.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#include <stdlib.h> // malloc()
#include <string.h> // strncpy()

#include "net_driver.h"
#include "lf_sst_support.h"
#include "util.h"
Expand Down Expand Up @@ -52,6 +55,7 @@ void free_netdrv(netdrv_t drv) {
int create_server(netdrv_t drv, bool increment_port_on_retry) {
sst_priv_t* priv = get_sst_priv_t(drv);
SST_ctx_t* ctx = init_SST(sst_config_path);
priv->sst_ctx = ctx;
return create_socket_server(priv->socket_priv->user_specified_port, &priv->socket_priv->socket_descriptor,
&priv->socket_priv->port, TCP, increment_port_on_retry);
}
Expand Down

0 comments on commit cb5b23b

Please sign in to comment.