krb5 commit: Include time.h in kdb.h

[email protected]
Newsgroups gmane.comp.encryption.kerberos.cvs
Message-ID <[email protected]>
https://github.com/krb5/krb5/commit/c3958cec43b598b25484b9805224c56f25f7a755
commit c3958cec43b598b25484b9805224c56f25f7a755
Author: Greg Hudson <[email protected]>
Date:   Tue Mar 29 16:27:55 2022 -0400

    Include time.h in kdb.h
    
    kdb.h uses time_t, and therefore must include <time.h> to ensure its
    definition.  Noticed when building t_sort_key_data.c on macOS.

 src/include/kdb.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/include/kdb.h b/src/include/kdb.h
index 21bddcfb8..bbae9d101 100644
--- a/src/include/kdb.h
+++ b/src/include/kdb.h
@@ -65,6 +65,7 @@
 #ifndef KRB5_KDB5__
 #define KRB5_KDB5__
 
+#include <time.h>
 #include <krb5.h>
 
 /* This version will be incremented when incompatible changes are made to the
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.