git.samba.org
/
kamenim
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d652e06
)
waf: Add check for HAVE_STRUCT_IN6_PKTINFO.
author
Andreas Schneider
<asn@samba.org>
Tue, 3 Jun 2014 12:53:19 +0000
(14:53 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 5 Jun 2014 21:57:09 +0000
(23:57 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
lib/socket_wrapper/wscript
patch
|
blob
|
history
diff --git
a/lib/socket_wrapper/wscript
b/lib/socket_wrapper/wscript
index fba50986c2d5395017230cc9e45525bad90b1dc6..53dace41db61e3cabe6f8d13d5ce42d832df648c 100644
(file)
--- a/
lib/socket_wrapper/wscript
+++ b/
lib/socket_wrapper/wscript
@@
-48,6
+48,11
@@
def configure(conf):
headers='sys/types.h sys/socket.h',
define='HAVE_STRUCT_MSGHDR_MSG_CONTROL')
+ conf.CHECK_STRUCTURE_MEMBER('struct in6_pktinfo',
+ 'ipi6_addr',
+ headers='sys/types.h sys/socket.h netinet/in.h',
+ define='HAVE_STRUCT_IN6_PKTINFO')
+
conf.CHECK_FUNCS('getaddrinfo')
conf.CHECK_FUNCS('signalfd eventfd timerfd_create')