From 46615cd9119e0e66175768e1757c9bc3e15b9cc8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 21 Oct 2016 07:56:24 +0200 Subject: swrap: Fix the build on BSD and Solaris Signed-off-by: Andreas Schneider Reviewed-by: Michael Adam --- src/socket_wrapper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); }; -- cgit