#pragma once
#include <cstdlib>
#pragma once
#include <cstdlib>
+
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
- in_port_t port;
- uint32_t weight;
const char *c_str;
size_t size;
const char *c_str;
size_t size;
+ in_port_t port;
+ uint32_t weight;