projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiler warnings on *BSD.
[tinc]
/
src
/
subnet.h
diff --git
a/src/subnet.h
b/src/subnet.h
index
9fd95b6
..
6184e6b
100644
(file)
--- a/
src/subnet.h
+++ b/
src/subnet.h
@@
-22,6
+22,7
@@
#define __TINC_SUBNET_H__
#include "net.h"
#define __TINC_SUBNET_H__
#include "net.h"
+#include "node.h"
typedef enum subnet_type_t {
SUBNET_MAC = 0,
typedef enum subnet_type_t {
SUBNET_MAC = 0,
@@
-44,8
+45,6
@@
typedef struct subnet_ipv6_t {
int prefixlength;
} subnet_ipv6_t;
int prefixlength;
} subnet_ipv6_t;
-#include "node.h"
-
typedef struct subnet_t {
struct node_t *owner; /* the owner of this subnet */
typedef struct subnet_t {
struct node_t *owner; /* the owner of this subnet */