Browse Source

iwyu: example_edge_embed.c and example_sn_embed.c

pull/1119/head
Hamish Coleman 1 year ago
parent
commit
89bd21d6b8
  1. 6
      src/example_edge_embed.c
  2. 11
      src/example_sn_embed.c

6
src/example_edge_embed.c

@ -16,7 +16,11 @@
* *
*/ */
#include "n2n.h"
#include <stdio.h> // for snprintf, NULL
#include <stdlib.h> // for exit
#include "n2n.h" // for n2n_edge_conf_t, edge_conf_add_supernode, edge_init
static int keep_running; static int keep_running;

11
src/example_sn_embed.c

@ -16,7 +16,16 @@
* *
*/ */
#include "n2n.h"
#include <stdlib.h> // for exit
#include "n2n.h" // for n2n_sn_t, open_socket, run_sn_loop, sn_init
#ifdef WIN32
#include <winsock.h>
#else
#include <netinet/in.h> // for INADDR_ANY, INADDR_LOOPBACK
#endif
static int keep_running; static int keep_running;

Loading…
Cancel
Save