From: Vinson Lee <vlee@xxxxxxxxxxx> 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@xxxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html