comparison includes.h @ 1622:e11ed628708b

- Add adaptive authentication failure delay - Rework monotonic_now/gettime_wrapper and use clock_gettime on more platforms
author Matt Johnston <matt@ucc.asn.au>
date Mon, 05 Nov 2018 23:36:34 +0800
parents bb8eaa26bc93
children c66c49ebf77d
comparison
equal deleted inserted replaced
1621:8cdabd7d34aa 1622:e11ed628708b
26 #define DROPBEAR_INCLUDES_H_ 26 #define DROPBEAR_INCLUDES_H_
27 27
28 28
29 #include "options.h" 29 #include "options.h"
30 #include "debug.h" 30 #include "debug.h"
31
32 #if __linux__
33 /* For clock_gettime */
34 #define _POSIX_C_SOURCE 199309L
35 #endif
31 36
32 #include <sys/types.h> 37 #include <sys/types.h>
33 #include <sys/ioctl.h> 38 #include <sys/ioctl.h>
34 #include <sys/param.h> /* required for BSD4_4 define */ 39 #include <sys/param.h> /* required for BSD4_4 define */
35 #include <sys/socket.h> 40 #include <sys/socket.h>