mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 03:08:38 +01:00
Conditionalize <time.h> inclusion from <bsd/bsd.h>
This was added long time ago to fix some software which was implicitly depending on the header through some other header, and to avoid having to modify such software. Conditionalize it on LIBBSD_CLEAN_INCLUDES, so that buildability can be tested for its future removal.
This commit is contained in:
parent
8b6a74775b
commit
b36c59c0ed
@ -42,6 +42,8 @@
|
||||
#include <bsd/md5.h>
|
||||
|
||||
/* FIXME: Will be removed in the future. */
|
||||
#ifndef LIBBSD_CLEAN_INCLUDES
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user