Skip to content

Commit

Permalink
always include time.h
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Tilmans <[email protected]>
  • Loading branch information
oliviertilmans committed Oct 17, 2016
1 parent f2d01b0 commit 0a38202
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions link_sim.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ SOFTWARE.
#include <sys/select.h> /* fd_set, select */
#ifdef __APPLE__
#include <sys/time.h> /* gettimeofday */
#else
#include <time.h> /* clock_gettime */
#endif /* __APPLE__ */
#endif
#include <time.h> /* clock_gettime, time */
#include <string.h> /* memcpy, memcmp */
#include <errno.h> /* errno, EAGAIN, ... */
#include <fcntl.h> /* fcntl */
Expand Down

0 comments on commit 0a38202

Please sign in to comment.