iwyu: example_edge_embed.c and example_sn_embed.c

This commit is contained in:
Hamish Coleman
2023-06-15 22:38:04 +01:00
parent c6a9b17338
commit 89bd21d6b8
2 changed files with 15 additions and 2 deletions
+5 -1
View File
@@ -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;
+10 -1
View File
@@ -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;