* [PATCH] net/domains.c: Include compat.h.
@ 2015-05-06 19:27 Vinson Lee
0 siblings, 0 replies; only message in thread
From: Vinson Lee @ 2015-05-06 19:27 UTC (permalink / raw)
To: trinity; +Cc: Vinson Lee
From: Vinson Lee <vlee@twitter.com>
Fix build errors on CentOS 6.
CC net/domains.o
net/domains.c:59: error: ‘PF_CAIF’ undeclared here (not in a function)
net/domains.c:59: warning: missing initializer
net/domains.c:59: warning: (near initialization for ‘domains[40].domain’)
net/domains.c:60: error: ‘PF_ALG’ undeclared here (not in a function)
net/domains.c:60: warning: missing initializer
net/domains.c:60: warning: (near initialization for ‘domains[41].domain’)
net/domains.c:61: error: ‘PF_NFC’ undeclared here (not in a function)
net/domains.c:61: warning: missing initializer
net/domains.c:61: warning: (near initialization for ‘domains[42].domain’)
net/domains.c:62: error: ‘PF_VSOCK’ undeclared here (not in a function)
net/domains.c:62: warning: missing initializer
net/domains.c:62: warning: (near initialization for ‘domains[43].domain’)
Signed-off-by: Vinson Lee <vlee@twitter.com>
---
net/domains.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/domains.c b/net/domains.c
index 6ecd455..0930995 100644
--- a/net/domains.c
+++ b/net/domains.c
@@ -9,6 +9,7 @@
#include "domains.h"
#include "params.h"
#include "utils.h"
+#include "compat.h"
struct domain {
const char *name;
--
1.7.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-06 19:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-06 19:27 [PATCH] net/domains.c: Include compat.h Vinson Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).