Skip to content

Commit

Permalink
Include time.h and sys/time.h
Browse files Browse the repository at this point in the history
All remotely modern and supported platforms allow this.

Reported-by: Jaimos Skriletz <jaimosskriletz@gmail.com>
Signed-off-by: Matt Jolly <kangie@gentoo.org>
  • Loading branch information
Kangie committed Oct 28, 2024
1 parent 71a7505 commit e55d768
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions libs/ftime.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@

#include "config.h"

#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# else
# include <time.h>
# endif
#endif

#endif /* FVWMLIB_FTIME_H */

0 comments on commit e55d768

Please sign in to comment.