]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
includes.h for compat, time.h for clock_gettime.
authorDarren Tucker <dtucker@dtucker.net>
Mon, 5 May 2025 09:08:48 +0000 (19:08 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 5 May 2025 09:08:48 +0000 (19:08 +1000)
misc-agent.c

index d065ab0e5b7a76108d07104ab3fba9d093bcc0ef..a8605302ef8ceac7dd26e60b8a3dcef48ca52c02 100644 (file)
@@ -14,6 +14,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "includes.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
@@ -25,6 +27,9 @@
 #include <netdb.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_TIME_H
+# include <time.h>
+#endif
 #include <unistd.h>
 
 #include "digest.h"