]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Wrap stdint.h inside ifdef.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 21 Feb 2023 06:38:55 +0000 (17:38 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 21 Feb 2023 06:49:22 +0000 (17:49 +1100)
regress/unittests/misc/test_ptimeout.c

index f56e88996cebe6037202d73ff7fc6ae6c73d12d8..284f0a1eed008c32ab1c68961f40d30c299f4b2d 100644 (file)
@@ -9,7 +9,9 @@
 
 #include <sys/types.h>
 #include <stdio.h>
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <poll.h>