git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swrap: Add support for eventfd with unsigned count variable.
[samba.git]
/
lib
/
socket_wrapper
/
socket_wrapper.c
diff --git
a/lib/socket_wrapper/socket_wrapper.c
b/lib/socket_wrapper/socket_wrapper.c
index 6a495b95029ddd0211ce2af4417adca6ea4aafd0..d5c343d024d5b35c9ab953f7ebdb241cebc73cf0 100644
(file)
--- a/
lib/socket_wrapper/socket_wrapper.c
+++ b/
lib/socket_wrapper/socket_wrapper.c
@@
-5024,7
+5024,11
@@
static int swrap_eventfd(int count, int flags)
return fd;
}
+#ifdef HAVE_EVENTFD_UNSIGNED_INT
+int eventfd(unsigned int count, int flags)
+#else
int eventfd(int count, int flags)
+#endif
{
return swrap_eventfd(count, flags);
}