git: 90eaf4b2f98f - main - md5: Include <osreldate.h> for __FreeBSD_version.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 May 2023 09:26:46 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=90eaf4b2f98f2678b3dc707f9781a887eee94b1a
commit 90eaf4b2f98f2678b3dc707f9781a887eee94b1a
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-05-09 17:59:19 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-05-10 09:25:21 +0000
md5: Include <osreldate.h> for __FreeBSD_version.
It is usually provided by <sys/param.h>, but not when bootstrapping.
Fixes: 4849767cb16a
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: yuripv, kevans
Differential Revision: https://reviews.freebsd.org/D40018
---
sbin/md5/md5.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
index bca6a98fc32c..b11fc6971735 100644
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$");
#include <fcntl.h>
#include <getopt.h>
#include <md5.h>
+#include <osreldate.h>
#include <ripemd.h>
#include <sha.h>
#include <sha224.h>