zephyr/subsys/bluetooth/services
Alberto Escolar Piedras a785548df6 bluetooth: CTS: Fix includes to avoid build error with some libCs
Remove unnecessary include in header and source file.

gmtime_r() is an extension to the C library, and therefore one
needs to explicitly ask for its prototype to have it exposed.
This is done by defining _POSIX_C_SOURCE so let's do so.

These two changes fix build errors with some libCs.
Tested with pico, newlib, minimal and the host glibc.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-11-18 19:29:32 -05:00
..
bas bluetooth: BAS: add battery critical status char to bas service 2024-10-22 14:06:35 +02:00
ias Bluetooth: Shell: Restructure shell files 2024-09-24 09:21:04 -04:00
nus Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
ots lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
CMakeLists.txt bluetooth: services: added current time service 2024-08-29 11:38:28 +02:00
cts.c bluetooth: CTS: Fix includes to avoid build error with some libCs 2024-11-18 19:29:32 -05:00
dis.c Bluetooth: Implemented new DIS characteristics 2024-09-02 12:00:52 +02:00
hrs.c bluetooth: services: hrs: added control point write callback 2024-08-29 16:12:12 -04:00
Kconfig bluetooth: services: added current time service 2024-08-29 11:38:28 +02:00
Kconfig.cts bluetooth: services: added current time service 2024-08-29 11:38:28 +02:00
Kconfig.dis Bluetooth: Implemented new DIS characteristics 2024-09-02 12:00:52 +02:00
Kconfig.hrs
Kconfig.tps
tps.c