Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2021 21:00:15 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: cab31e0e216c - main - md5: Fix cross-build after c2870e576bd2
Message-ID:  <202106252100.15PL0FZO073302@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=cab31e0e216c7defefd4aba14693ba2252ea7308

commit cab31e0e216c7defefd4aba14693ba2252ea7308
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2021-06-25 21:00:11 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2021-06-25 21:00:11 +0000

    md5: Fix cross-build after c2870e576bd2
    
    On macOS and Linux the current set of headers do not end up pulling in
    sys/param.h, causing MAXPATHLEN to not be defined and the build to fail.
---
 sbin/md5/md5.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
index d4245d2aad4b..43a76227a9d2 100644
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -21,6 +21,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/types.h>
+#include <sys/param.h>
 #include <sys/time.h>
 #include <sys/resource.h>
 #include <err.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106252100.15PL0FZO073302>