summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-03-02 15:40:05 +0000
committertb <>2024-03-02 15:40:05 +0000
commit47a3f5b8513b2a1228a43f5e88e791dc6d7b0ab9 (patch)
tree9c35449bf45ce9526d0e26708893c4a36ffe6eed /src/lib
parent2ba0717d7067d20e1175c3fb444df23f35782d8d (diff)
downloadopenbsd-47a3f5b8513b2a1228a43f5e88e791dc6d7b0ab9.tar.gz
openbsd-47a3f5b8513b2a1228a43f5e88e791dc6d7b0ab9.tar.bz2
openbsd-47a3f5b8513b2a1228a43f5e88e791dc6d7b0ab9.zip
include <time.h> for time_t and struct tm, needed for macos
ok millert miod
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/crypto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h
index 440240baa9..d6ea7771cf 100644
--- a/src/lib/libcrypto/crypto.h
+++ b/src/lib/libcrypto/crypto.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto.h,v 1.71 2024/03/02 11:40:53 tb Exp $ */ 1/* $OpenBSD: crypto.h,v 1.72 2024/03/02 15:40:05 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -117,6 +117,7 @@
117#include <stdint.h> 117#include <stdint.h>
118#include <stdio.h> 118#include <stdio.h>
119#include <stdlib.h> 119#include <stdlib.h>
120#include <time.h>
120 121
121#ifndef HEADER_CRYPTO_H 122#ifndef HEADER_CRYPTO_H
122#define HEADER_CRYPTO_H 123#define HEADER_CRYPTO_H