aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2016-10-21 07:56:24 +0200
committerMichael Adam <obnox@samba.org>2016-10-21 09:29:18 +0200
commit46615cd9119e0e66175768e1757c9bc3e15b9cc8 (patch)
tree7814e962291de263963ca23e03bbe5aaeb1cad59 /src
parentd8cf3b0ca8ce24aaf19e4692882dadffa921f763 (diff)
downloadsocket_wrapper-46615cd9119e0e66175768e1757c9bc3e15b9cc8.tar.gz
socket_wrapper-46615cd9119e0e66175768e1757c9bc3e15b9cc8.tar.xz
socket_wrapper-46615cd9119e0e66175768e1757c9bc3e15b9cc8.zip
swrap: Fix the build on BSD and Solaris
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src')
-rw-r--r--src/socket_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 6679d5c..72c8868 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -512,7 +512,9 @@ struct swrap_libc_symbols {
#endif
SWRAP_SYMBOL_ENTRY(socket);
SWRAP_SYMBOL_ENTRY(socketpair);
+#ifdef HAVE_TIMERFD_CREATE
SWRAP_SYMBOL_ENTRY(timerfd_create);
+#endif
SWRAP_SYMBOL_ENTRY(write);
SWRAP_SYMBOL_ENTRY(writev);
};