chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resolved: make use of union in_addr_union in resolved, too
[elogind.git]
/
src
/
resolve
/
resolved.h
diff --git
a/src/resolve/resolved.h
b/src/resolve/resolved.h
index 984edc76c1c6f0e07d724d38c57d3e45a565cad7..48b361db5733269c2babdac99ad10f97f2bb6531 100644
(file)
--- a/
src/resolve/resolved.h
+++ b/
src/resolve/resolved.h
@@
-26,6
+26,7
@@
#include "util.h"
#include "list.h"
#include "util.h"
#include "list.h"
+#include "socket-util.h"
typedef struct Address Address;
typedef struct Manager Manager;
typedef struct Address Address;
typedef struct Manager Manager;
@@
-33,10
+34,7
@@
typedef struct Manager Manager;
struct Address {
unsigned char family;
struct Address {
unsigned char family;
- union {
- struct in_addr in;
- struct in6_addr in6;
- } in_addr;
+ union in_addr_union in_addr;
LIST_FIELDS(Address, addresses);
};
LIST_FIELDS(Address, addresses);
};