drivers: counter: Specify _POSIX_C_SOURCE when native_sim
When building with native_sim, We need to specify
```
#define _POSIX_C_SOURCE 200809L
```
to make `gmtime_r` available.
Signed-off-by:
TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Loading
Please sign in to comment