ctl: Add missing header after 42494fbbe4
src/ctl-server.c:373:36: error: incomplete definition of type 'struct sockaddr_in' inet_ntop(addr->sa_family, &sa_in->sin_addr, dst, sz); ~~~~~^ src/ctl-server.c:368:9: note: forward declaration of 'struct sockaddr_in' struct sockaddr_in* sa_in = (struct sockaddr_in*)addr; ^ src/ctl-server.c:376:37: error: incomplete definition of type 'struct sockaddr_in6' inet_ntop(addr->sa_family, &sa_in6->sin6_addr, dst, sz); ~~~~~~^ src/ctl-server.c:369:9: note: forward declaration of 'struct sockaddr_in6' struct sockaddr_in6* sa_in6 = (struct sockaddr_in6*)addr; ^pull/127/merge
parent
d71bca5270
commit
5b01551673
|
@ -28,6 +28,7 @@
|
||||||
#include <aml.h>
|
#include <aml.h>
|
||||||
#include <jansson.h>
|
#include <jansson.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "ctl-commands.h"
|
#include "ctl-commands.h"
|
||||||
|
|
Loading…
Reference in New Issue