trinity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vinson Lee <vlee@twopensource.com>
To: trinity@vger.kernel.org
Cc: Vinson Lee <vlee@twitter.com>
Subject: [PATCH] net/domains.c: Include compat.h.
Date: Wed,  6 May 2015 12:27:11 -0700	[thread overview]
Message-ID: <1430940431-17203-1-git-send-email-vlee@twopensource.com> (raw)

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

                 reply	other threads:[~2015-05-06 19:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430940431-17203-1-git-send-email-vlee@twopensource.com \
    --to=vlee@twopensource.com \
    --cc=trinity@vger.kernel.org \
    --cc=vlee@twitter.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).