diff --git a/lib/roken/socket_wrapper.c b/lib/roken/socket_wrapper.c index 02178f613..1f1c42597 100644 --- a/lib/roken/socket_wrapper.c +++ b/lib/roken/socket_wrapper.c @@ -65,6 +65,14 @@ #undef SOCKET_WRAPPER_REPLACE #include +#ifdef TIME_WITH_SYS_TIME +#include +#include +#elif defined(HAVE_SYS_TIME_H) +#include +#else +#include +#endif #include #include #include