aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2021-06-25 21:00:11 +0000
committerStefan Eßer <se@FreeBSD.org>2021-06-28 16:14:02 +0000
commita4f9c6a9e6e18d8d2825f322f91698a2ca77505b (patch)
tree4638f1df2f996dab1278ef1fa5be2dd61e29d5c0
parent40484600782fb3df037cbaaa5e1c41afe200c257 (diff)
downloadsrc-a4f9c6a9e6e18d8d2825f322f91698a2ca77505b.tar.gz
src-a4f9c6a9e6e18d8d2825f322f91698a2ca77505b.zip
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. (cherry picked from commit cab31e0e216c7defefd4aba14693ba2252ea7308)
-rw-r--r--sbin/md5/md5.c1
1 files changed, 1 insertions, 0 deletions
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>