]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Define u_short and u_long if needed.
authorJonas 'Sortie' Termansen <sortie@maxsi.org>
Sat, 2 Nov 2024 21:10:39 +0000 (22:10 +0100)
committerDamien Miller <djm@mindrot.org>
Tue, 3 Dec 2024 09:01:47 +0000 (20:01 +1100)
defines.h

index c1c21aba616eb0dac1e5782d54c0ab93fbc591ae..50797de8b46084ba2e58508f6ba515244c4674f0 100644 (file)
--- a/defines.h
+++ b/defines.h
@@ -216,7 +216,9 @@ including rpc/rpc.h breaks Solaris 6
 /* (or die trying) */
 
 #ifndef HAVE_U_INT
+typedef unsigned short u_short;
 typedef unsigned int u_int;
+typedef unsigned long u_long;
 #endif
 
 #ifndef HAVE_INTXX_T