p2p: Protect the AF_NFC ugliness
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 15 Dec 2011 18:19:53 +0000 (19:19 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 15 Dec 2011 18:19:53 +0000 (19:19 +0100)
plugins/p2p.c

index 64dbe71..ca36e82 100644 (file)
 #include <near/ndef.h>
 #include <near/tlv.h>
 
+#ifndef AF_NFC
 #define AF_NFC 39
+#endif
+
 #define TLV_SIZE 2
 
 struct p2p_npp_channel {