Let compile AC under FreeBSD

FossilOrigin-Name: f73785f101fc422e11fd00aa367a69093f8344e4e7ad2edb13f6883dd42ac231
This commit is contained in:
root
2020-03-09 12:08:58 +00:00
parent f97a580e54
commit f43b88af0a
6 changed files with 39 additions and 37 deletions

View File

@ -22,4 +22,5 @@ enum {
#endif
#endif

View File

@ -29,6 +29,10 @@
#include "cw/cw_util.h"
#include "cw/dtls.h"
#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <net/if.h>
#include "conf.h"
#include "ac.h"

View File

@ -32,6 +32,8 @@ void ucfg_cmd(struct shelldata *sd, const char * cmd);
void set_cmd(struct shelldata *sd, const char * cmd);
void del_cmd(struct shelldata *sd, const char * cmd);
void send_cmd(struct shelldata *sd, const char * cmd);
void show_cfg (FILE *out, mavl_t ktv);
void show_aps (FILE *out);
struct conn * find_ap(const char *name);
@ -89,6 +91,7 @@ void ucfg_cmd(struct shelldata *sd, const char *cmd)
#include "wtpman.h"
void
send_cmd(struct shelldata * sd, const char *cmd)
{
struct conn * conn;