Skip to content
Commit a7cfe317 authored by Keith Packard's avatar Keith Packard Committed by Carles Cufí
Browse files

posix: Don't require struct itimerspec in posix/time.h



struct itimerspec is only required to be available when building with
_POSIX_C_SOURCE defined. Applications including posix/time.h without
defining _POSIX_C_SOURCE will need to have a forward declaration of struct
itimerspec even if they don't use the functions requiring that type.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 5ad762f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment