include <time.h> for time_t and struct tm, needed for macos
authortb <tb@openbsd.org>
Sat, 2 Mar 2024 15:40:05 +0000 (15:40 +0000)
committertb <tb@openbsd.org>
Sat, 2 Mar 2024 15:40:05 +0000 (15:40 +0000)
ok millert miod

lib/libcrypto/crypto.h

index 440240b..d6ea777 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto.h,v 1.71 2024/03/02 11:40:53 tb Exp $ */
+/* $OpenBSD: crypto.h,v 1.72 2024/03/02 15:40:05 tb Exp $ */
 /* ====================================================================
  * Copyright (c) 1998-2006 The OpenSSL Project.  All rights reserved.
  *
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <time.h>
 
 #ifndef HEADER_CRYPTO_H
 #define HEADER_CRYPTO_H