From: Samuel Ortiz Date: Thu, 15 Dec 2011 18:19:53 +0000 (+0100) Subject: p2p: Protect the AF_NFC ugliness X-Git-Tag: 0.1~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b50ebf90c46a7d169631974e60c8a2afe778f177;p=platform%2Fupstream%2Fneard.git p2p: Protect the AF_NFC ugliness --- diff --git a/plugins/p2p.c b/plugins/p2p.c index 64dbe71..ca36e82 100644 --- a/plugins/p2p.c +++ b/plugins/p2p.c @@ -40,7 +40,10 @@ #include #include +#ifndef AF_NFC #define AF_NFC 39 +#endif + #define TLV_SIZE 2 struct p2p_npp_channel {