diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-11-05 23:36:34 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-11-05 23:36:34 +0800 |
commit | 02ffdd09dc1941f7a924cde8db288fcd64987f59 (patch) | |
tree | 2f8bfd41d17f2f291bb0f65cff0cbbd00ef3b38e /includes.h | |
parent | 6f6ef4834c792f7ccf2409080a6adaf44b8f0d51 (diff) |
- Add adaptive authentication failure delay
- Rework monotonic_now/gettime_wrapper and use clock_gettime on more platforms
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,11 @@ #include "options.h" #include "debug.h" +#if __linux__ +/* For clock_gettime */ +#define _POSIX_C_SOURCE 199309L +#endif + #include <sys/types.h> #include <sys/ioctl.h> #include <sys/param.h> /* required for BSD4_4 define */ |