comparison includes.h @ 1623:c66c49ebf77d

Remove incorrect _POSIX_C_SOURCE
author Matt Johnston <matt@ucc.asn.au>
date Tue, 06 Nov 2018 07:25:53 +0800
parents e11ed628708b
children 76189c9ffea2
comparison
equal deleted inserted replaced
1622:e11ed628708b 1623:c66c49ebf77d
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
36 31
37 #include <sys/types.h> 32 #include <sys/types.h>
38 #include <sys/ioctl.h> 33 #include <sys/ioctl.h>
39 #include <sys/param.h> /* required for BSD4_4 define */ 34 #include <sys/param.h> /* required for BSD4_4 define */
40 #include <sys/socket.h> 35 #include <sys/socket.h>