diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-02-03 07:22:30 +0100 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-02-03 07:22:30 +0100 |
commit | 0c2fabc6c5cc1631fc2fb8dc7ee46333cc9e4ddc (patch) | |
tree | 146d3ba2d9d7734b1102f75a9da5c2cffbbbd81f /rb | |
parent | ce2f213b16afb4965a4b3d0b1aab1640f041c26d (diff) | |
download | librb-0c2fabc6c5cc1631fc2fb8dc7ee46333cc9e4ddc.tar.gz librb-0c2fabc6c5cc1631fc2fb8dc7ee46333cc9e4ddc.tar.bz2 librb-0c2fabc6c5cc1631fc2fb8dc7ee46333cc9e4ddc.zip |
fix: sys/time.h only needed in multi-threaded build
Diffstat (limited to 'rb')
-rw-r--r-- | rb/rb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,12 +20,12 @@ #include <stddef.h> #include <stdlib.h> #include <string.h> -#include <sys/time.h> #if ENABLE_THREADS +# include <fcntl.h> # include <pthread.h> # include <sys/socket.h> -# include <fcntl.h> +# include <sys/time.h> #endif #include "rb.h" |