Skip to content

Commit 0cef892

Browse files
author
Zishan Mirza
committed
fix: add if macro for linux implementations
1 parent b4e7af4 commit 0cef892

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libc/src/time/time_utils.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
#include "hdr/types/time_t.h"
1313
#include "src/__support/CPP/limits.h"
1414
#include "src/errno/libc_errno.h"
15-
#include "timezone.h"
15+
#ifdef LIBC_TARGET_OS_IS_LINUX
16+
#include "src/time/linux/localtime_utils.h"
17+
#include "src/time/linux/timezone.h"
18+
#endif
1619

1720
namespace LIBC_NAMESPACE_DECL {
1821
namespace time_utils {

0 commit comments

Comments
 (0)