projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a21c1b
)
p2p: Protect the AF_NFC ugliness
author
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 15 Dec 2011 18:19:53 +0000
(19:19 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 15 Dec 2011 18:19:53 +0000
(19:19 +0100)
plugins/p2p.c
patch
|
blob
|
history
diff --git
a/plugins/p2p.c
b/plugins/p2p.c
index
64dbe71
..
ca36e82
100644
(file)
--- a/
plugins/p2p.c
+++ b/
plugins/p2p.c
@@
-40,7
+40,10
@@
#include <near/ndef.h>
#include <near/tlv.h>
+#ifndef AF_NFC
#define AF_NFC 39
+#endif
+
#define TLV_SIZE 2
struct p2p_npp_channel {