diff --git a/src/kernel/libroot/posix/time/Jamfile b/src/kernel/libroot/posix/time/Jamfile index 97c93e870e..b3f92bc10d 100644 --- a/src/kernel/libroot/posix/time/Jamfile +++ b/src/kernel/libroot/posix/time/Jamfile @@ -1,12 +1,13 @@ SubDir OBOS_TOP src kernel libroot posix time ; KernelMergeObject posix_time.o : - <$(SOURCE_GRIST)>asctime.c - <$(SOURCE_GRIST)>ctime.c - <$(SOURCE_GRIST)>difftime.c - <$(SOURCE_GRIST)>localtime.c - <$(SOURCE_GRIST)>mktime.c - <$(SOURCE_GRIST)>strftime.cpp - <$(SOURCE_GRIST)>time.c + asctime.c + ctime.c + difftime.c + localtime.c + mktime.c + strftime.cpp + time.c + tzset.c : -fPIC -DPIC ; diff --git a/src/kernel/libroot/posix/time/tzset.c b/src/kernel/libroot/posix/time/tzset.c new file mode 100644 index 0000000000..5391500055 --- /dev/null +++ b/src/kernel/libroot/posix/time/tzset.c @@ -0,0 +1,21 @@ +/* +** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the Haiku License. +*/ + + +#include + + +char *tzname[2]; + + +void +tzset(void) +{ + // ToDo: implement me properly! + + tzname[0] = "std"; + tzname[0] = "dst"; +} +